#314E99#314E99
#314E99 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.127 H 265.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #314E99 |
|---|---|
| RGB | rgb(49, 78, 153) |
| HSL | hsl(223, 51%, 40%) |
| HSV | hsv(223, 68%, 60%) |
| CMYK | cmyk(68%, 49%, 0%, 40%) |
| CIE-LAB | lab(34.80, 14.99, -44.32) |
| CIE-LCH | lch(34.80, 46.78, 288.68°) |
| OKLab | oklab(44.32% -0.0098 -0.127) |
| OKLCH | oklch(44.32% 0.127 265.6) |
| XYZ | xyz(9.7388, 8.4007, 31.2391) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.00
Dusk Blue
#26538D
ΔE00 3.99
Cobalt
#0047AB
ΔE00 4.00
Denim Blue
#3B5B92
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 4.78
Light Navy Blue
#2E5A88
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314E99 #997C31
analogous
#318299 #314E99 #483199
triadic
#314E99 #99314E #4E9931
tetradic
#314E99 #993182 #997C31 #319948
square
#314E99 #993182 #997C31 #319948
split-complementary
#314E99 #994831 #829931
monochromatic
#131F3C #22366B #314E99 #4468C3 #728DD2
Accessibility & contrast
On white
7.83
#314E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#314E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314E99
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314E99 | 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)
#26579C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314e99; /* rgb */ color: rgb(49, 78, 153); /* oklch */ color: oklch(44.3% 0.127 265.6);
Tailwind
colors: {
custom: {
50: '#757fb7',
500: '#314e99',
950: '#000000',
},
}SCSS
$custom: #314e99; $custom-light: #757fb7; $custom-dark: #000000;
JSON
{
"hex": "#314e99",
"rgb": {
"r": 49,
"g": 78,
"b": 153
},
"hsl": {
"h": 223.269,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.44324,
"c": 0.12734,
"h": 265.6
},
"luminance": 0.08402
}Semantic roles & 50–950 ramp
primary
#314E99
secondary
#BAA46C
accent
#B34DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80