Nerdulator> put something in

Recognised as Colour

#04227E

  • #04227E
  • Blue
  • Dark
  • Nearest: Midnight blue

#04227E is a blue with RGB values 4, 34, 126 and HSL 225°, 94%, 25%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#04227E#04227E
HEX#04227E
RGBrgb(4, 34, 126)
RGB (0–1)0.0157, 0.1333, 0.4941
RGB percentages1.6%, 13.3%, 49.4%
HSLhsl(225.2, 93.8%, 25.5%)
HSV / HSBhsv(225.2, 96.8%, 49.4%)
CMYK96.8%, 73%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer270,974
CSS custom property--colour: #04227E;

Brightness & contrast

Relative luminance0.02676WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.68:1
Contrast with white13.68:1WCAG normal text: AAA
Contrast with black1.54:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#FBDD81

Colour vision & accessibility

Protanopia#003381no red cones; affects about 1% of men; ΔE 13.4 from the original
Deuteranopia#00287Cno green cones; the most common form, about 1% of men; ΔE 6.3 from the original
Tritanopia#003C4Dno blue cones; rare, and affects men and women equally; ΔE 55.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.68:1WCAG large text: AAA
Contrast with black, large text1.54:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.52, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7E6004
Analogous#045F7E, #23047E
Triadic#7E0422, #227E04
Split complementary#7E2304, #5F7E04
Tetradic#7E045F, #7E6004, #047E23

Tints, shades & saturation

Lighter +40%#547DFA
Lighter +30%#2357F8
Lighter +20%#073DE1
Lighter +10%#062FAF
Darker −10%#02154D
Darker −20%#01071B
Darker −30%#000000
Darker −40%#000000
More saturated +25%#002082
Less saturated −25%#142A6E

Channel breakdown

R4
G34
B126
Red4 (1.6%)
Green34 (13.3%)
Blue126 (49.4%)
Hue225.25°
Saturation (HSL)93.85%
Lightness25.49%
Dominant channelBlue
Hex per channelR 04 · G 22 · B 7E

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