#314E95#314E95
#314E95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.122 H 265.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #314E95 |
|---|---|
| RGB | rgb(49, 78, 149) |
| HSL | hsl(223, 51%, 39%) |
| HSV | hsv(223, 67%, 58%) |
| CMYK | cmyk(67.1%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(34.54, 13.49, -42.32) |
| CIE-LCH | lch(34.54, 44.42, 287.68°) |
| OKLab | oklab(44.04% -0.0104 -0.1211) |
| OKLCH | oklch(44.04% 0.122 265.1) |
| XYZ | xyz(9.4139, 8.2708, 29.5282) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.75
Dusk Blue
#26538D
ΔE00 3.69
Cobalt
#0047AB
ΔE00 4.33
Denim Blue
#3B5B92
ΔE00 4.43
Sapphire
#0F52BA
ΔE00 5.20
Light Navy Blue
#2E5A88
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314E95 #957831
analogous
#318095 #314E95 #463195
triadic
#314E95 #95314E #4E9531
tetradic
#314E95 #953180 #957831 #319546
square
#314E95 #953180 #957831 #319546
split-complementary
#314E95 #954631 #809531
monochromatic
#131E39 #223667 #314E95 #4267C1 #708CD0
Accessibility & contrast
On white
7.91
#314E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#314E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314E95
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314E95 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #314e95; /* rgb */ color: rgb(49, 78, 149); /* oklch */ color: oklch(44.0% 0.122 265.1);
Tailwind
colors: {
custom: {
50: '#747fb5',
500: '#314e95',
950: '#000000',
},
}SCSS
$custom: #314e95; $custom-light: #747fb5; $custom-dark: #000000;
JSON
{
"hex": "#314e95",
"rgb": {
"r": 49,
"g": 78,
"b": 149
},
"hsl": {
"h": 222.6,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.44038,
"c": 0.12153,
"h": 265.1
},
"luminance": 0.08272
}Semantic roles & 50–950 ramp
primary
#314E95
secondary
#B8A16A
accent
#B14EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80