Recognised as Colour
#04319D
- #04319D
- Blue
- Dark
- Nearest: Midnight blue
#04319D is a blue with RGB values 4, 49, 157 and HSL 222°, 95%, 32%. It is a dark colour, so white text on it reaches 10.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#04319D#04319D
HEX#04319D
RGBrgb(4, 49, 157)
RGB (0–1)0.0157, 0.1922, 0.6157
RGB percentages1.6%, 19.2%, 61.6%
HSLhsl(222.4, 95%, 31.6%)
HSV / HSBhsv(222.4, 97.5%, 61.6%)
CMYK97.5%, 68.8%, 0%, 38.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer274,845
CSS custom property--colour: #04319D;
Brightness & contrast
Relative luminance0.04657WCAG 2.x, 0 is black and 1 is white
Perceived brightness65 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.87:1
Contrast with white10.87:1WCAG normal text: AAA
Contrast with black1.93:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#FBCE62
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.87:1WCAG large text: AAA
Contrast with black, large text1.93:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#9D7004
Analogous#047D9D, #24049D
Triadic#9D0431, #319D04
Split complementary#9D2404, #7D9D04
Tetradic#9D047D, #9D7004, #049D24
Tints, shades & saturation
Channel breakdown
R4
G49
B157
Red4 (1.6%)
Green49 (19.2%)
Blue157 (61.6%)
Hue222.35°
Saturation (HSL)95.03%
Lightness31.57%
Dominant channelBlue
Hex per channelR 04 · G 31 · B 9D
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