Nerdulator> put something in

Recognised as Colour

#04218A

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

#04218A is a blue with RGB values 4, 33, 138 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

#04218A#04218A
HEX#04218A
RGBrgb(4, 33, 138)
RGB (0–1)0.0157, 0.1294, 0.5412
RGB percentages1.6%, 12.9%, 54.1%
HSLhsl(227, 94.4%, 27.8%)
HSV / HSBhsv(227, 97.1%, 54.1%)
CMYK97.1%, 76.1%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer270,730
CSS custom property--colour: #04218A;

Brightness & contrast

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

Colour vision & accessibility

Protanopia#00368Dno red cones; affects about 1% of men; ΔE 16.2 from the original
Deuteranopia#002988no green cones; the most common form, about 1% of men; ΔE 7.5 from the original
Tritanopia#004054no blue cones; rare, and affects men and women equally; ΔE 62.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.21:1WCAG large text: AAA
Contrast with black, large text1.59:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#8A6D04
Analogous#04648A, #2A048A
Triadic#8A0421, #218A04
Split complementary#8A2A04, #648A04
Tetradic#8A0464, #8A6D04, #048A2A

Tints, shades & saturation

Lighter +40%#6081FA
Lighter +30%#2E5AF9
Lighter +20%#0739ED
Lighter +10%#052DBC
Darker −10%#031558
Darker −20%#010927
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001F8E
Less saturated −25%#162B78

Channel breakdown

R4
G33
B138
Red4 (1.6%)
Green33 (12.9%)
Blue138 (54.1%)
Hue227.01°
Saturation (HSL)94.37%
Lightness27.84%
Dominant channelBlue
Hex per channelR 04 · G 21 · B 8A

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