#314F95#314F95
#314F95 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.120 H 264.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #314F95 |
|---|---|
| RGB | rgb(49, 79, 149) |
| HSL | hsl(222, 51%, 39%) |
| HSV | hsv(222, 67%, 58%) |
| CMYK | cmyk(67.1%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(34.83, 12.83, -41.85) |
| CIE-LCH | lch(34.83, 43.77, 287.04°) |
| OKLab | oklab(44.26% -0.0114 -0.1197) |
| OKLCH | oklch(44.26% 0.12 264.6) |
| XYZ | xyz(9.4855, 8.4140, 29.5521) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.86
Dusk Blue
#26538D
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 5.08
Light Navy Blue
#2E5A88
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314F95 #957731
analogous
#318195 #314F95 #453195
triadic
#314F95 #95314F #4F9531
tetradic
#314F95 #953181 #957731 #319545
square
#314F95 #953181 #957731 #319545
split-complementary
#314F95 #954531 #819531
monochromatic
#131E39 #223767 #314F95 #4268C1 #708DD0
Accessibility & contrast
On white
7.83
#314F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#314F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314F95
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314F95 | 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)
#2C5798
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314f95; /* rgb */ color: rgb(49, 79, 149); /* oklch */ color: oklch(44.3% 0.120 264.6);
Tailwind
colors: {
custom: {
50: '#747fb4',
500: '#314f95',
950: '#000000',
},
}SCSS
$custom: #314f95; $custom-light: #747fb4; $custom-dark: #000000;
JSON
{
"hex": "#314f95",
"rgb": {
"r": 49,
"g": 79,
"b": 149
},
"hsl": {
"h": 222,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.4426,
"c": 0.12024,
"h": 264.6
},
"luminance": 0.08415
}Semantic roles & 50–950 ramp
primary
#314F95
secondary
#B8A06A
accent
#B04EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80