#314F96#314F96
#314F96 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.122 H 264.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #314F96 |
|---|---|
| RGB | rgb(49, 79, 150) |
| HSL | hsl(222, 51%, 39%) |
| HSV | hsv(222, 67%, 59%) |
| CMYK | cmyk(67.3%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.90, 13.20, -42.35) |
| CIE-LCH | lch(34.90, 44.36, 287.31°) |
| OKLab | oklab(44.33% -0.0113 -0.1212) |
| OKLCH | oklch(44.33% 0.122 264.7) |
| XYZ | xyz(9.5657, 8.4460, 29.9744) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Dusk Blue
#26538D
ΔE00 3.47
Denim Blue
#3B5B92
ΔE00 4.13
Cobalt
#0047AB
ΔE00 4.37
Sapphire
#0F52BA
ΔE00 4.97
Light Navy Blue
#2E5A88
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314F96 #967831
analogous
#318296 #314F96 #463196
triadic
#314F96 #96314F #4F9631
tetradic
#314F96 #963182 #967831 #319646
square
#314F96 #963182 #967831 #319646
split-complementary
#314F96 #964631 #829631
monochromatic
#131E3A #223768 #314F96 #4368C1 #718DD1
Accessibility & contrast
On white
7.81
#314F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#314F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314F96
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314F96 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314f96; /* rgb */ color: rgb(49, 79, 150); /* oklch */ color: oklch(44.3% 0.122 264.7);
Tailwind
colors: {
custom: {
50: '#747fb5',
500: '#314f96',
950: '#000000',
},
}SCSS
$custom: #314f96; $custom-light: #747fb5; $custom-dark: #000000;
JSON
{
"hex": "#314f96",
"rgb": {
"r": 49,
"g": 79,
"b": 150
},
"hsl": {
"h": 222.178,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.4433,
"c": 0.1217,
"h": 264.7
},
"luminance": 0.08447
}Semantic roles & 50–950 ramp
primary
#314F96
secondary
#B8A16A
accent
#B04EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80