#314C8F#314C8F
#314C8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.115 H 265.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #314C8F |
|---|---|
| RGB | rgb(49, 76, 143) |
| HSL | hsl(223, 49%, 38%) |
| HSV | hsv(223, 66%, 56%) |
| CMYK | cmyk(65.7%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(33.57, 12.59, -40.22) |
| CIE-LCH | lch(33.57, 42.14, 287.38°) |
| OKLab | oklab(43.17% -0.0093 -0.1149) |
| OKLCH | oklch(43.17% 0.115 265.4) |
| XYZ | xyz(8.8073, 7.8042, 27.0235) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.44
Dusk Blue
#26538D
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.01
Darkish Blue
#014182
ΔE00 5.33
Twilight Blue
#0A437A
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C8F #8F7431
analogous
#317B8F #314C8F #45318F
triadic
#314C8F #8F314C #4C8F31
tetradic
#314C8F #8F317B #8F7431 #318F45
square
#314C8F #8F317B #8F7431 #318F45
split-complementary
#314C8F #8F4531 #7B8F31
monochromatic
#121C34 #213461 #314C8F #4164BD #6D89CD
Accessibility & contrast
On white
8.20
#314C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#314C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C8F
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C8F | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#1B4B8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #314c8f; /* rgb */ color: rgb(49, 76, 143); /* oklch */ color: oklch(43.2% 0.115 265.4);
Tailwind
colors: {
custom: {
50: '#737db0',
500: '#314c8f',
950: '#000000',
},
}SCSS
$custom: #314c8f; $custom-light: #737db0; $custom-dark: #000000;
JSON
{
"hex": "#314c8f",
"rgb": {
"r": 49,
"g": 76,
"b": 143
},
"hsl": {
"h": 222.766,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.43171,
"c": 0.11532,
"h": 265.4
},
"luminance": 0.07805
}Semantic roles & 50–950 ramp
primary
#314C8F
secondary
#B59E67
accent
#B14FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F