#314690#314690
#314690 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.125 H 268.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #314690 |
|---|---|
| RGB | rgb(49, 70, 144) |
| HSL | hsl(227, 49%, 38%) |
| HSV | hsv(227, 66%, 56%) |
| CMYK | cmyk(66%, 51.4%, 0%, 43.5%) |
| CIE-LAB | lab(31.91, 16.98, -43.50) |
| CIE-LCH | lch(31.91, 46.70, 291.33°) |
| OKLab | oklab(41.93% -0.003 -0.1247) |
| OKLCH | oklch(41.93% 0.125 268.6) |
| XYZ | xyz(8.4891, 7.0461, 27.2928) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.21
Cobalt
#0047AB
ΔE00 4.78
Blueberry
#464196
ΔE00 5.09
Darkish Blue
#014182
ΔE00 5.47
Dusk Blue
#26538D
ΔE00 6.07
Twilight Blue
#0A437A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314690 #907B31
analogous
#317590 #314690 #4B3190
triadic
#314690 #903146 #469031
tetradic
#314690 #903175 #907B31 #31904B
square
#314690 #903175 #907B31 #31904B
split-complementary
#314690 #904B31 #759031
monochromatic
#121A35 #213062 #314690 #415CBE #6E83CE
Accessibility & contrast
On white
8.72
#314690 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#314690 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314690
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314690 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314690 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#01478E
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #314690; /* rgb */ color: rgb(49, 70, 144); /* oklch */ color: oklch(41.9% 0.125 268.6);
Tailwind
colors: {
custom: {
50: '#7479b1',
500: '#314690',
950: '#000000',
},
}SCSS
$custom: #314690; $custom-light: #7479b1; $custom-dark: #000000;
JSON
{
"hex": "#314690",
"rgb": {
"r": 49,
"g": 70,
"b": 144
},
"hsl": {
"h": 226.737,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.41926,
"c": 0.12471,
"h": 268.6
},
"luminance": 0.07047
}Semantic roles & 50–950 ramp
primary
#314690
secondary
#B5A468
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80