Recognised as Colour
#04338A
- #04338A
- Blue
- Dark
- Nearest: Dark slateblue
#04338A is a blue with RGB values 4, 51, 138 and HSL 219°, 94%, 28%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#04338A#04338A
HEX#04338A
RGBrgb(4, 51, 138)
RGB (0–1)0.0157, 0.2, 0.5412
RGB percentages1.6%, 20%, 54.1%
HSLhsl(219, 94.4%, 27.8%)
HSV / HSBhsv(219, 97.1%, 54.1%)
CMYK97.1%, 63%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer275,338
CSS custom property--colour: #04338A;
Brightness & contrast
Relative luminance0.04228WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.38:1
Contrast with white11.38:1WCAG normal text: AAA
Contrast with black1.85:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#FBCC75
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.38:1WCAG large text: AAA
Contrast with black, large text1.85:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8A5B04
Analogous#04768A, #18048A
Triadic#8A0433, #338A04
Split complementary#8A1804, #768A04
Tetradic#8A0476, #8A5B04, #048A18
Tints, shades & saturation
Channel breakdown
R4
G51
B138
Red4 (1.6%)
Green51 (20%)
Blue138 (54.1%)
Hue218.96°
Saturation (HSL)94.37%
Lightness27.84%
Dominant channelBlue
Hex per channelR 04 · G 33 · B 8A
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page