#314C8B#314C8B
#314C8B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.109 H 264.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #314C8B |
|---|---|
| RGB | rgb(49, 76, 139) |
| HSL | hsl(222, 48%, 37%) |
| HSV | hsv(222, 65%, 55%) |
| CMYK | cmyk(64.7%, 45.3%, 0%, 45.5%) |
| CIE-LAB | lab(33.32, 11.10, -38.18) |
| CIE-LCH | lch(33.32, 39.76, 286.21°) |
| OKLab | oklab(42.9% -0.01 -0.1089) |
| OKLCH | oklch(42.9% 0.109 264.7) |
| XYZ | xyz(8.5097, 7.6852, 25.4560) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.47
Dusk Blue
#26538D
ΔE00 3.87
Denim Blue
#3B5B92
ΔE00 4.99
Darkish Blue
#014182
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.20
Twilight Blue
#0A437A
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C8B #8B7031
analogous
#31798B #314C8B #43318B
triadic
#314C8B #8B314C #4C8B31
tetradic
#314C8B #8B3179 #8B7031 #318B43
square
#314C8B #8B3179 #8B7031 #318B43
split-complementary
#314C8B #8B4331 #798B31
monochromatic
#111B31 #21335E #314C8B #4165B8 #6B88CB
Accessibility & contrast
On white
8.28
#314C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#314C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C8B
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C8B | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#204B8A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #314c8b; /* rgb */ color: rgb(49, 76, 139); /* oklch */ color: oklch(42.9% 0.109 264.7);
Tailwind
colors: {
custom: {
50: '#727dad',
500: '#314c8b',
950: '#000000',
},
}SCSS
$custom: #314c8b; $custom-light: #727dad; $custom-dark: #000000;
JSON
{
"hex": "#314c8b",
"rgb": {
"r": 49,
"g": 76,
"b": 139
},
"hsl": {
"h": 222,
"s": 47.872,
"l": 36.863
},
"oklch": {
"l": 0.42895,
"c": 0.1094,
"h": 264.7
},
"luminance": 0.07686
}Semantic roles & 50–950 ramp
primary
#314C8B
secondary
#B29B65
accent
#AF50D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F