Nerdulator> put something in

Recognised as Colour

#0540CF

  • #0540CF
  • Blue
  • Dark
  • Nearest: Medium slateblue

#0540CF is a blue with RGB values 5, 64, 207 and HSL 222°, 95%, 42%. It is a dark colour, so white text on it reaches 8:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.

Colour values

#0540CF#0540CF
HEX#0540CF
RGBrgb(5, 64, 207)
RGB (0–1)0.0196, 0.251, 0.8118
RGB percentages2%, 25.1%, 81.2%
HSLhsl(222.5, 95.3%, 41.6%)
HSV / HSBhsv(222.5, 97.6%, 81.2%)
CMYK97.6%, 69.1%, 0%, 18.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer344,271
CSS custom property--colour: #0540CF;

Brightness & contrast

Relative luminance0.08204WCAG 2.x, 0 is black and 1 is white
Perceived brightness85.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.95:1
Contrast with white7.95:1WCAG normal text: AAA
Contrast with black2.64:1WCAG normal text: Fail
Greyscale equivalent#3E3E3E
Inverted#FABF30

Colour vision & accessibility

Protanopia#005AD3no red cones; affects about 1% of men; ΔE 19.1 from the original
Deuteranopia#0048CCno green cones; the most common form, about 1% of men; ΔE 7.9 from the original
Tritanopia#006882no blue cones; rare, and affects men and women equally; ΔE 79.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.95:1WCAG large text: AAA
Contrast with black, large text2.64:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium slateblue (#7B68EE)ΔE 21.21, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#CF9405
Analogous#05A5CF, #2F05CF
Triadic#CF0540, #40CF05
Split complementary#CF2F05, #A5CF05
Tetradic#CF05A5, #CF9405, #05CF2F

Tints, shades & saturation

Lighter +40%#A3BDFD
Lighter +30%#719AFC
Lighter +20%#4076FA
Lighter +10%#0E53F9
Darker −10%#04319D
Darker −20%#03216B
Darker −30%#01123A
Darker −40%#000208
More saturated +25%#003ED4
Less saturated −25%#204BB4

Channel breakdown

R5
G64
B207
Red5 (2%)
Green64 (25.1%)
Blue207 (81.2%)
Hue222.48°
Saturation (HSL)95.28%
Lightness41.57%
Dominant channelBlue
Hex per channelR 05 · G 40 · B CF

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “0540cf” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.