Nerdulator> put something in

Recognised as Colour

#04218B

  • #04218B
  • Blue
  • Dark
  • Nearest: Midnight blue

#04218B is a blue with RGB values 4, 33, 139 and HSL 227°, 94%, 28%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#04218B#04218B
HEX#04218B
RGBrgb(4, 33, 139)
RGB (0–1)0.0157, 0.1294, 0.5451
RGB percentages1.6%, 12.9%, 54.5%
HSLhsl(227.1, 94.4%, 28%)
HSV / HSBhsv(227.1, 97.1%, 54.5%)
CMYK97.1%, 76.3%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer270,731
CSS custom property--colour: #04218B;

Brightness & contrast

Relative luminance0.02978WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.16:1
Contrast with white13.16:1WCAG normal text: AAA
Contrast with black1.6:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#FBDE74

Colour vision & accessibility

Protanopia#00378Eno red cones; affects about 1% of men; ΔE 17 from the original
Deuteranopia#002A89no green cones; the most common form, about 1% of men; ΔE 8.4 from the original
Tritanopia#004154no blue cones; rare, and affects men and women equally; ΔE 63.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.16:1WCAG large text: AAA
Contrast with black, large text1.6:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.84, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8B6E04
Analogous#04658B, #2A048B
Triadic#8B0421, #218B04
Split complementary#8B2A04, #658B04
Tetradic#8B0465, #8B6E04, #048B2A

Tints, shades & saturation

Lighter +40%#6182FA
Lighter +30%#2F5AF9
Lighter +20%#0739EE
Lighter +10%#052DBD
Darker −10%#031559
Darker −20%#010928
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001F8F
Less saturated −25%#162B79

Channel breakdown

R4
G33
B139
Red4 (1.6%)
Green33 (12.9%)
Blue139 (54.5%)
Hue227.11°
Saturation (HSL)94.41%
Lightness28.04%
Dominant channelBlue
Hex per channelR 04 · G 21 · B 8B

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