#314E98#314E98
#314E98 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.126 H 265.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #314E98 |
|---|---|
| RGB | rgb(49, 78, 152) |
| HSL | hsl(223, 51%, 39%) |
| HSV | hsv(223, 68%, 60%) |
| CMYK | cmyk(67.8%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(34.74, 14.61, -43.82) |
| CIE-LCH | lch(34.74, 46.19, 288.44°) |
| OKLab | oklab(44.25% -0.0099 -0.1255) |
| OKLCH | oklch(44.25% 0.126 265.5) |
| XYZ | xyz(9.6565, 8.3678, 30.8059) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.93
Dusk Blue
#26538D
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.08
Denim Blue
#3B5B92
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.89
Light Navy Blue
#2E5A88
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314E98 #987B31
analogous
#318298 #314E98 #483198
triadic
#314E98 #98314E #4E9831
tetradic
#314E98 #983182 #987B31 #319848
square
#314E98 #983182 #987B31 #319848
split-complementary
#314E98 #984831 #829831
monochromatic
#131F3B #22366A #314E98 #4467C3 #728DD2
Accessibility & contrast
On white
7.85
#314E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#314E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314E98
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314E98 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314e98; /* rgb */ color: rgb(49, 78, 152); /* oklch */ color: oklch(44.3% 0.126 265.5);
Tailwind
colors: {
custom: {
50: '#757fb7',
500: '#314e98',
950: '#000000',
},
}SCSS
$custom: #314e98; $custom-light: #757fb7; $custom-dark: #000000;
JSON
{
"hex": "#314e98",
"rgb": {
"r": 49,
"g": 78,
"b": 152
},
"hsl": {
"h": 223.107,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.44252,
"c": 0.12589,
"h": 265.5
},
"luminance": 0.08369
}Semantic roles & 50–950 ramp
primary
#314E98
secondary
#B9A36B
accent
#B34DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80