#312CAE#312CAE
#312CAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.197 H 274.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #312CAE |
|---|---|
| RGB | rgb(49, 44, 174) |
| HSL | hsl(242, 60%, 43%) |
| HSV | hsv(242, 75%, 68%) |
| CMYK | cmyk(71.8%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(28.14, 44.24, -67.83) |
| CIE-LCH | lch(28.14, 80.98, 303.11°) |
| OKLab | oklab(39.95% 0.0155 -0.1962) |
| OKLCH | oklch(39.95% 0.197 274.5) |
| XYZ | xyz(9.8048, 5.5094, 40.5829) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.01
True Blue
#010FCC
ΔE00 5.57
Ultramarine
#2000B1
ΔE00 6.46
Royal
#0C1793
ΔE00 6.46
Mediumblue
#0000CD
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#312CAE #A9AE2C
analogous
#2C68AE #312CAE #722CAE
triadic
#312CAE #AE312C #2CAE31
tetradic
#312CAE #AE2C68 #A9AE2C #2CAE72
square
#312CAE #AE2C68 #A9AE2C #2CAE72
split-complementary
#312CAE #AE722C #68AE2C
monochromatic
#15134C #23207D #312CAE #4C47D0 #7C78DD
Accessibility & contrast
On white
9.99
#312CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#312CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #312CAE
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##312CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##312CAE | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #312cae; /* rgb */ color: rgb(49, 44, 174); /* oklch */ color: oklch(39.9% 0.197 274.5);
Tailwind
colors: {
custom: {
50: '#7c67c7',
500: '#312cae',
950: '#000000',
},
}SCSS
$custom: #312cae; $custom-light: #7c67c7; $custom-dark: #000000;
JSON
{
"hex": "#312cae",
"rgb": {
"r": 49,
"g": 44,
"b": 174
},
"hsl": {
"h": 242.308,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.39948,
"c": 0.19677,
"h": 274.5
},
"luminance": 0.0551
}Semantic roles & 50–950 ramp
primary
#312CAE
secondary
#C1C571
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82