Nerdulator> put something in

Recognised as Colour

#040CC6

  • #040CC6
  • Blue
  • Dark
  • Nearest: Medium blue

#040CC6 is a blue with RGB values 4, 12, 198 and HSL 238°, 96%, 40%. It is a dark colour, so white text on it reaches 11.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#040CC6#040CC6
HEX#040CC6
RGBrgb(4, 12, 198)
RGB (0–1)0.0157, 0.0471, 0.7765
RGB percentages1.6%, 4.7%, 77.6%
HSLhsl(237.5, 96%, 39.6%)
HSV / HSBhsv(237.5, 98%, 77.6%)
CMYK98%, 93.9%, 0%, 22.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,414
CSS custom property--colour: #040CC6;

Brightness & contrast

Relative luminance0.04366WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.21:1
Contrast with white11.21:1WCAG normal text: AAA
Contrast with black1.87:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FBF339

Colour vision & accessibility

Protanopia#0045CAno red cones; affects about 1% of men; ΔE 32.1 from the original
Deuteranopia#0030C3no green cones; the most common form, about 1% of men; ΔE 19.4 from the original
Tritanopia#005374no blue cones; rare, and affects men and women equally; ΔE 95.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.21:1WCAG large text: AAA
Contrast with black, large text1.87:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 5.79, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#C6BE04
Analogous#046DC6, #5D04C6
Triadic#C6040C, #0CC604
Split complementary#C65D04, #6DC604
Tetradic#C6046D, #C6BE04, #04C65D

Tints, shades & saturation

Lighter +40%#999DFD
Lighter +30%#676DFC
Lighter +20%#353DFB
Lighter +10%#050FF8
Darker −10%#030994
Darker −20%#020662
Darker −30%#010330
Darker −40%#000000
More saturated +25%#0008CA
Less saturated −25%#1D23AD

Channel breakdown

R4
G12
B198
Red4 (1.6%)
Green12 (4.7%)
Blue198 (77.6%)
Hue237.53°
Saturation (HSL)96.04%
Lightness39.61%
Dominant channelBlue
Hex per channelR 04 · G 0C · B C6

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 “040cc6” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.