Recognised as Colour
#04229F
- #04229F
- Blue
- Dark
- Nearest: Dark blue
#04229F is a blue with RGB values 4, 34, 159 and HSL 228°, 95%, 32%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#04229F#04229F
HEX#04229F
RGBrgb(4, 34, 159)
RGB (0–1)0.0157, 0.1333, 0.6235
RGB percentages1.6%, 13.3%, 62.4%
HSLhsl(228.4, 95.1%, 32%)
HSV / HSBhsv(228.4, 97.5%, 62.4%)
CMYK97.5%, 78.6%, 0%, 37.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer271,007
CSS custom property--colour: #04229F;
Brightness & contrast
Relative luminance0.03673WCAG 2.x, 0 is black and 1 is white
Perceived brightness59.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.11:1
Contrast with white12.11:1WCAG normal text: AAA
Contrast with black1.73:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#FBDD60
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.11:1WCAG large text: AAA
Contrast with black, large text1.73:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#9F8104
Analogous#04709F, #34049F
Triadic#9F0422, #229F04
Split complementary#9F3304, #709F04
Tetradic#9F046F, #9F8104, #049F33
Tints, shades & saturation
Channel breakdown
R4
G34
B159
Red4 (1.6%)
Green34 (13.3%)
Blue159 (62.4%)
Hue228.39°
Saturation (HSL)95.09%
Lightness31.96%
Dominant channelBlue
Hex per channelR 04 · G 22 · B 9F
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