Nerdulator> put something in

Recognised as Colour

#040CB2

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

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

Colour values

#040CB2#040CB2
HEX#040CB2
RGBrgb(4, 12, 178)
RGB (0–1)0.0157, 0.0471, 0.698
RGB percentages1.6%, 4.7%, 69.8%
HSLhsl(237.2, 95.6%, 35.7%)
HSV / HSBhsv(237.2, 97.8%, 69.8%)
CMYK97.8%, 93.3%, 0%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,394
CSS custom property--colour: #040CB2;

Brightness & contrast

Relative luminance0.03503WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.35:1
Contrast with white12.35:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#FBF34D

Colour vision & accessibility

Protanopia#003DB6no red cones; affects about 1% of men; ΔE 28.6 from the original
Deuteranopia#002BB0no green cones; the most common form, about 1% of men; ΔE 17.5 from the original
Tritanopia#004A68no blue cones; rare, and affects men and women equally; ΔE 87.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.35:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#B2AA04
Analogous#0463B2, #5304B2
Triadic#B2040C, #0CB204
Split complementary#B25304, #63B204
Tetradic#B20463, #B2AA04, #04B253

Tints, shades & saturation

Lighter +40%#868BFC
Lighter +30%#545CFB
Lighter +20%#222CFA
Lighter +10%#050FE4
Darker −10%#030980
Darker −20%#02054E
Darker −30%#01021C
Darker −40%#000000
More saturated +25%#0008B6
Less saturated −25%#1B219B

Channel breakdown

R4
G12
B178
Red4 (1.6%)
Green12 (4.7%)
Blue178 (69.8%)
Hue237.24°
Saturation (HSL)95.6%
Lightness35.69%
Dominant channelBlue
Hex per channelR 04 · G 0C · B B2

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