#312CBD#312CBD
#312CBD is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.215 H 273.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #312CBD |
|---|---|
| RGB | rgb(49, 44, 189) |
| HSL | hsl(242, 62%, 46%) |
| HSV | hsv(242, 77%, 74%) |
| CMYK | cmyk(74.1%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(29.73, 49.10, -74.12) |
| CIE-LCH | lch(29.73, 88.91, 303.52°) |
| OKLab | oklab(41.54% 0.0124 -0.2145) |
| OKLCH | oklch(41.54% 0.215 273.3) |
| XYZ | xyz(11.3495, 6.1273, 48.7188) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.71
True Blue
#010FCC
ΔE00 4.77
Ultramarine Blue
#1805DB
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.49
Violet Blue
#510AC9
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#312CBD #B8BD2C
analogous
#2C6FBD #312CBD #792CBD
triadic
#312CBD #BD312C #2CBD31
tetradic
#312CBD #BD2C6F #B8BD2C #2CBD79
square
#312CBD #BD2C6F #B8BD2C #2CBD79
split-complementary
#312CBD #BD792C #6FBD2C
monochromatic
#17155A #24208B #312CBD #5550D6 #8582E2
Accessibility & contrast
On white
9.44
#312CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#312CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #312CBD
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##312CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##312CBD | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #312cbd; /* rgb */ color: rgb(49, 44, 189); /* oklch */ color: oklch(41.5% 0.215 273.3);
Tailwind
colors: {
custom: {
50: '#8068d2',
500: '#312cbd',
950: '#000000',
},
}SCSS
$custom: #312cbd; $custom-light: #8068d2; $custom-dark: #000000;
JSON
{
"hex": "#312cbd",
"rgb": {
"r": 49,
"g": 44,
"b": 189
},
"hsl": {
"h": 242.069,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.41544,
"c": 0.21483,
"h": 273.3
},
"luminance": 0.06128
}Semantic roles & 50–950 ramp
primary
#312CBD
secondary
#C8CB7A
accent
#E542E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83