Nerdulator> put something in

Recognised as Colour

#04217B

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

#04217B is a blue with RGB values 4, 33, 123 and HSL 225°, 94%, 25%. It is a dark colour, so white text on it reaches 13.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#04217B#04217B
HEX#04217B
RGBrgb(4, 33, 123)
RGB (0–1)0.0157, 0.1294, 0.4824
RGB percentages1.6%, 12.9%, 48.2%
HSLhsl(225.4, 93.7%, 24.9%)
HSV / HSBhsv(225.4, 96.7%, 48.2%)
CMYK96.7%, 73.2%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer270,715
CSS custom property--colour: #04217B;

Brightness & contrast

Relative luminance0.02544WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.92:1
Contrast with white13.92:1WCAG normal text: AAA
Contrast with black1.51:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#FBDE84

Colour vision & accessibility

Protanopia#00327Eno red cones; affects about 1% of men; ΔE 13.5 from the original
Deuteranopia#002779no green cones; the most common form, about 1% of men; ΔE 6.3 from the original
Tritanopia#003B4Bno blue cones; rare, and affects men and women equally; ΔE 55.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.92:1WCAG large text: AAA
Contrast with black, large text1.51:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 4.74, a close match
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7B5E04
Analogous#045D7B, #23047B
Triadic#7B0421, #217B04
Split complementary#7B2204, #5D7B04
Tetradic#7B045D, #7B5E04, #047B22

Tints, shades & saturation

Lighter +40%#527BF9
Lighter +30%#2055F8
Lighter +20%#073CDE
Lighter +10%#062EAC
Darker −10%#02144A
Darker −20%#010618
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001F7F
Less saturated −25%#14296B

Channel breakdown

R4
G33
B123
Red4 (1.6%)
Green33 (12.9%)
Blue123 (48.2%)
Hue225.38°
Saturation (HSL)93.7%
Lightness24.9%
Dominant channelBlue
Hex per channelR 04 · G 21 · B 7B

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