Recognised as Colour
#031B70
- #031B70
- Blue
- Dark
- Nearest: Midnight blue
#031B70 is a blue with RGB values 3, 27, 112 and HSL 227°, 95%, 23%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#031B70#031B70
HEX#031B70
RGBrgb(3, 27, 112)
RGB (0–1)0.0118, 0.1059, 0.4392
RGB percentages1.2%, 10.6%, 43.9%
HSLhsl(226.8, 94.8%, 22.5%)
HSV / HSBhsv(226.8, 97.3%, 43.9%)
CMYK97.3%, 75.9%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer203,632
CSS custom property--colour: #031B70;
Brightness & contrast
Relative luminance0.01973WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.06:1
Contrast with white15.06:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#FCE48F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.06:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#705803
Analogous#035270, #220370
Triadic#70031B, #1B7003
Split complementary#702203, #527003
Tetradic#700351, #705803, #037022
Tints, shades & saturation
Channel breakdown
R3
G27
B112
Red3 (1.2%)
Green27 (10.6%)
Blue112 (43.9%)
Hue226.79°
Saturation (HSL)94.78%
Lightness22.55%
Dominant channelBlue
Hex per channelR 03 · G 1B · B 70
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