Recognised as Colour
#312A70
- #312A70
- Blue
- Dark
- Nearest: Dark slateblue
#312A70 is a blue with RGB values 49, 42, 112 and HSL 246°, 45%, 30%. It is a dark colour, so white text on it reaches 12.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#312A70#312A70
HEX#312A70
RGBrgb(49, 42, 112)
RGB (0–1)0.1922, 0.1647, 0.4392
RGB percentages19.2%, 16.5%, 43.9%
HSLhsl(246, 45.5%, 30.2%)
HSV / HSBhsv(246, 62.5%, 43.9%)
CMYK56.3%, 62.5%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,222,128
CSS custom property--colour: #312A70;
Brightness & contrast
Relative luminance0.03479WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.38:1
Contrast with white12.38:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#CED58F
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.38:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#69702A
Analogous#2A4670, #542A70
Triadic#70312A, #2A7031
Split complementary#70542A, #46702A
Tetradic#702A46, #69702A, #2A7054
Tints, shades & saturation
Channel breakdown
R49
G42
B112
Red49 (19.2%)
Green42 (16.5%)
Blue112 (43.9%)
Hue246°
Saturation (HSL)45.45%
Lightness30.2%
Dominant channelBlue
Hex per channelR 31 · G 2A · 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