Nerdulator> put something in

Recognised as Colour

#040CB9

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

#040CB9 is a blue with RGB values 4, 12, 185 and HSL 237°, 96%, 37%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#040CB9#040CB9
HEX#040CB9
RGBrgb(4, 12, 185)
RGB (0–1)0.0157, 0.0471, 0.7255
RGB percentages1.6%, 4.7%, 72.5%
HSLhsl(237.3, 95.8%, 37.1%)
HSV / HSBhsv(237.3, 97.8%, 72.5%)
CMYK97.8%, 93.5%, 0%, 27.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,401
CSS custom property--colour: #040CB9;

Brightness & contrast

Relative luminance0.03792WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.94:1
Contrast with white11.94:1WCAG normal text: AAA
Contrast with black1.76:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#FBF346

Colour vision & accessibility

Protanopia#0040BDno red cones; affects about 1% of men; ΔE 30 from the original
Deuteranopia#002DB6no green cones; the most common form, about 1% of men; ΔE 18.7 from the original
Tritanopia#004D6Cno blue cones; rare, and affects men and women equally; ΔE 90.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.94:1WCAG large text: AAA
Contrast with black, large text1.76:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 11.66, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#B9B104
Analogous#0466B9, #5704B9
Triadic#B9040C, #0CB904
Split complementary#B95704, #66B904
Tetradic#B90466, #B9B104, #04B957

Tints, shades & saturation

Lighter +40%#8C91FD
Lighter +30%#5B62FB
Lighter +20%#2932FA
Lighter +10%#050FEB
Darker −10%#030987
Darker −20%#020655
Darker −30%#010223
Darker −40%#000000
More saturated +25%#0008BD
Less saturated −25%#1C22A1

Channel breakdown

R4
G12
B185
Red4 (1.6%)
Green12 (4.7%)
Blue185 (72.5%)
Hue237.35°
Saturation (HSL)95.77%
Lightness37.06%
Dominant channelBlue
Hex per channelR 04 · G 0C · B B9

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