Recognised as Colour
#031E7F
- #031E7F
- Blue
- Dark
- Nearest: Midnight blue
#031E7F is a blue with RGB values 3, 30, 127 and HSL 227°, 95%, 25%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#031E7F#031E7F
HEX#031E7F
RGBrgb(3, 30, 127)
RGB (0–1)0.0118, 0.1176, 0.498
RGB percentages1.2%, 11.8%, 49.8%
HSLhsl(226.9, 95.4%, 25.5%)
HSV / HSBhsv(226.9, 97.6%, 49.8%)
CMYK97.6%, 76.4%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer204,415
CSS custom property--colour: #031E7F;
Brightness & contrast
Relative luminance0.0248WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.04:1
Contrast with white14.04:1WCAG normal text: AAA
Contrast with black1.5:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#FCE180
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.04:1WCAG large text: AAA
Contrast with black, large text1.5:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F6403
Analogous#035C7F, #26037F
Triadic#7F031E, #1E7F03
Split complementary#7F2603, #5C7F03
Tetradic#7F035C, #7F6403, #037F26
Tints, shades & saturation
Channel breakdown
R3
G30
B127
Red3 (1.2%)
Green30 (11.8%)
Blue127 (49.8%)
Hue226.94°
Saturation (HSL)95.38%
Lightness25.49%
Dominant channelBlue
Hex per channelR 03 · G 1E · B 7F
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