#314F97#314F97
#314F97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.123 H 264.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #314F97 |
|---|---|
| RGB | rgb(49, 79, 151) |
| HSL | hsl(222, 51%, 39%) |
| HSV | hsv(222, 68%, 59%) |
| CMYK | cmyk(67.5%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.96, 13.57, -42.86) |
| CIE-LCH | lch(34.96, 44.95, 287.57°) |
| OKLab | oklab(44.4% -0.0111 -0.1226) |
| OKLCH | oklch(44.4% 0.123 264.8) |
| XYZ | xyz(9.6466, 8.4784, 30.4003) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.96
Dusk Blue
#26538D
ΔE00 3.54
Denim Blue
#3B5B92
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.86
Light Navy Blue
#2E5A88
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314F97 #977931
analogous
#318297 #314F97 #463197
triadic
#314F97 #97314F #4F9731
tetradic
#314F97 #973182 #977931 #319746
square
#314F97 #973182 #977931 #319746
split-complementary
#314F97 #974631 #829731
monochromatic
#131F3B #223769 #314F97 #4368C2 #718ED1
Accessibility & contrast
On white
7.79
#314F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#314F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314F97
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314F97 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314f97; /* rgb */ color: rgb(49, 79, 151); /* oklch */ color: oklch(44.4% 0.123 264.8);
Tailwind
colors: {
custom: {
50: '#757fb6',
500: '#314f97',
950: '#000000',
},
}SCSS
$custom: #314f97; $custom-light: #757fb6; $custom-dark: #000000;
JSON
{
"hex": "#314f97",
"rgb": {
"r": 49,
"g": 79,
"b": 151
},
"hsl": {
"h": 222.353,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.44401,
"c": 0.12315,
"h": 264.8
},
"luminance": 0.08479
}Semantic roles & 50–950 ramp
primary
#314F97
secondary
#B9A26B
accent
#B14DDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80