Recognised as Colour
#312F95
- #312F95
- Blue
- Dark
- Nearest: Midnight blue
#312F95 is a blue with RGB values 49, 47, 149 and HSL 241°, 52%, 38%. It is a dark colour, so white text on it reaches 10.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#312F95#312F95
HEX#312F95
RGBrgb(49, 47, 149)
RGB (0–1)0.1922, 0.1843, 0.5843
RGB percentages19.2%, 18.4%, 58.4%
HSLhsl(241.2, 52%, 38.4%)
HSV / HSBhsv(241.2, 68.5%, 58.4%)
CMYK67.1%, 68.5%, 0%, 41.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,223,445
CSS custom property--colour: #312F95;
Brightness & contrast
Relative luminance0.04856WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.65:1
Contrast with white10.65:1WCAG normal text: AAA
Contrast with black1.97:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#CED06A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.65:1WCAG large text: AAA
Contrast with black, large text1.97:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#93952F
Analogous#2F6095, #642F95
Triadic#95312F, #2F9531
Split complementary#95642F, #60952F
Tetradic#952F60, #93952F, #2F9564
Tints, shades & saturation
Channel breakdown
R49
G47
B149
Red49 (19.2%)
Green47 (18.4%)
Blue149 (58.4%)
Hue241.18°
Saturation (HSL)52.04%
Lightness38.43%
Dominant channelBlue
Hex per channelR 31 · G 2F · B 95
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