#314F8F#314F8F
#314F8F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.111 H 263.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #314F8F |
|---|---|
| RGB | rgb(49, 79, 143) |
| HSL | hsl(221, 49%, 38%) |
| HSV | hsv(221, 66%, 56%) |
| CMYK | cmyk(65.7%, 44.8%, 0%, 43.9%) |
| CIE-LAB | lab(34.45, 10.59, -38.81) |
| CIE-LCH | lch(34.45, 40.23, 285.26°) |
| OKLab | oklab(43.85% -0.0125 -0.1108) |
| OKLCH | oklch(43.85% 0.111 263.6) |
| XYZ | xyz(9.0188, 8.2273, 27.0940) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.74
Dusk Blue
#26538D
ΔE00 3.02
Denim Blue
#3B5B92
ΔE00 3.98
Cobalt
#0047AB
ΔE00 5.01
Light Navy
#155084
ΔE00 5.08
Light Navy Blue
#2E5A88
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314F8F #8F7131
analogous
#317E8F #314F8F #42318F
triadic
#314F8F #8F314F #4F8F31
tetradic
#314F8F #8F317E #8F7131 #318F42
square
#314F8F #8F317E #8F7131 #318F42
split-complementary
#314F8F #8F4231 #7E8F31
monochromatic
#121D34 #213661 #314F8F #4168BD #6D8CCD
Accessibility & contrast
On white
7.94
#314F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#314F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314F8F
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314F8F | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #314f8f; /* rgb */ color: rgb(49, 79, 143); /* oklch */ color: oklch(43.8% 0.111 263.6);
Tailwind
colors: {
custom: {
50: '#737fb0',
500: '#314f8f',
950: '#000000',
},
}SCSS
$custom: #314f8f; $custom-light: #737fb0; $custom-dark: #000000;
JSON
{
"hex": "#314f8f",
"rgb": {
"r": 49,
"g": 79,
"b": 143
},
"hsl": {
"h": 220.851,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.43847,
"c": 0.11146,
"h": 263.6
},
"luminance": 0.08228
}Semantic roles & 50–950 ramp
primary
#314F8F
secondary
#B59C67
accent
#AD4FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F