#314AA9#314AA9
#314AA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.155 H 268.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #314AA9 |
|---|---|
| RGB | rgb(49, 74, 169) |
| HSL | hsl(228, 55%, 43%) |
| HSV | hsv(228, 71%, 66%) |
| CMYK | cmyk(71%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.83, 23.63, -53.88) |
| CIE-LCH | lch(34.83, 58.84, 293.68°) |
| OKLab | oklab(44.71% -0.0046 -0.1552) |
| OKLCH | oklch(44.71% 0.155 268.3) |
| XYZ | xyz(10.8744, 8.4140, 38.5794) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 5.54
Blueberry
#464196
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AA9 #A99031
analogous
#3186A9 #314AA9 #5431A9
triadic
#314AA9 #A9314A #4AA931
tetradic
#314AA9 #A93186 #A99031 #31A954
square
#314AA9 #A93186 #A99031 #31A954
split-complementary
#314AA9 #A95431 #86A931
monochromatic
#15204A #23357A #314AA9 #4C67CB #7C8FD9
Accessibility & contrast
On white
7.83
#314AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#314AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AA9
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AA9 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314aa9; /* rgb */ color: rgb(49, 74, 169); /* oklch */ color: oklch(44.7% 0.155 268.3);
Tailwind
colors: {
custom: {
50: '#797cc3',
500: '#314aa9',
950: '#000000',
},
}SCSS
$custom: #314aa9; $custom-light: #797cc3; $custom-dark: #000000;
JSON
{
"hex": "#314aa9",
"rgb": {
"r": 49,
"g": 74,
"b": 169
},
"hsl": {
"h": 227.5,
"s": 55.046,
"l": 42.745
},
"oklch": {
"l": 0.44706,
"c": 0.15525,
"h": 268.3
},
"luminance": 0.08415
}Semantic roles & 50–950 ramp
primary
#314AA9
secondary
#C1B174
accent
#BF49DE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82