#314D8B#314D8B
#314D8B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.108 H 264.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #314D8B |
|---|---|
| RGB | rgb(49, 77, 139) |
| HSL | hsl(221, 48%, 37%) |
| HSV | hsv(221, 65%, 55%) |
| CMYK | cmyk(64.7%, 44.6%, 0%, 45.5%) |
| CIE-LAB | lab(33.61, 10.44, -37.70) |
| CIE-LCH | lch(33.61, 39.12, 285.47°) |
| OKLab | oklab(43.12% -0.0111 -0.1075) |
| OKLCH | oklch(43.12% 0.108 264.1) |
| XYZ | xyz(8.5791, 7.8240, 25.4792) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.53
Dusk Blue
#26538D
ΔE00 3.53
Denim Blue
#3B5B92
ΔE00 4.66
Darkish Blue
#014182
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.25
Light Navy
#155084
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314D8B #8B6F31
analogous
#317A8B #314D8B #42318B
triadic
#314D8B #8B314D #4D8B31
tetradic
#314D8B #8B317A #8B6F31 #318B42
square
#314D8B #8B317A #8B6F31 #318B42
split-complementary
#314D8B #8B4231 #7A8B31
monochromatic
#111B31 #21345E #314D8B #4166B8 #6B89CB
Accessibility & contrast
On white
8.19
#314D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#314D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314D8B
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314D8B | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #314d8b; /* rgb */ color: rgb(49, 77, 139); /* oklch */ color: oklch(43.1% 0.108 264.1);
Tailwind
colors: {
custom: {
50: '#727ead',
500: '#314d8b',
950: '#000000',
},
}SCSS
$custom: #314d8b; $custom-light: #727ead; $custom-dark: #000000;
JSON
{
"hex": "#314d8b",
"rgb": {
"r": 49,
"g": 77,
"b": 139
},
"hsl": {
"h": 221.333,
"s": 47.872,
"l": 36.863
},
"oklch": {
"l": 0.43122,
"c": 0.10811,
"h": 264.1
},
"luminance": 0.07825
}Semantic roles & 50–950 ramp
primary
#314D8B
secondary
#B29A65
accent
#AD50D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F