#314C96#314C96
#314C96 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.126 H 266.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #314C96 |
|---|---|
| RGB | rgb(49, 76, 150) |
| HSL | hsl(224, 51%, 39%) |
| HSV | hsv(224, 67%, 59%) |
| CMYK | cmyk(67.3%, 49.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.03, 15.20, -43.74) |
| CIE-LCH | lch(34.03, 46.31, 289.16°) |
| OKLab | oklab(43.67% -0.0082 -0.1253) |
| OKLCH | oklch(43.67% 0.126 266.2) |
| XYZ | xyz(9.3542, 8.0230, 29.9039) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.72
Cobalt
#0047AB
ΔE00 4.07
Dusk Blue
#26538D
ΔE00 4.37
Denim Blue
#3B5B92
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.40
Darkish Blue
#014182
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C96 #967B31
analogous
#317F96 #314C96 #483196
triadic
#314C96 #96314C #4C9631
tetradic
#314C96 #96317F #967B31 #319648
square
#314C96 #96317F #967B31 #319648
split-complementary
#314C96 #964831 #7F9631
monochromatic
#131D3A #223568 #314C96 #4365C1 #718AD1
Accessibility & contrast
On white
8.06
#314C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#314C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C96
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C96 | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#0D4C94
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #314c96; /* rgb */ color: rgb(49, 76, 150); /* oklch */ color: oklch(43.7% 0.126 266.2);
Tailwind
colors: {
custom: {
50: '#757db5',
500: '#314c96',
950: '#000000',
},
}SCSS
$custom: #314c96; $custom-light: #757db5; $custom-dark: #000000;
JSON
{
"hex": "#314c96",
"rgb": {
"r": 49,
"g": 76,
"b": 150
},
"hsl": {
"h": 223.96,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.43669,
"c": 0.12558,
"h": 266.2
},
"luminance": 0.08024
}Semantic roles & 50–950 ramp
primary
#314C96
secondary
#B8A46A
accent
#B54EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80