#314F9F#314F9F
#314F9F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.135 H 265.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #314F9F |
|---|---|
| RGB | rgb(49, 79, 159) |
| HSL | hsl(224, 53%, 41%) |
| HSV | hsv(224, 69%, 62%) |
| CMYK | cmyk(69.2%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(35.49, 16.57, -46.82) |
| CIE-LCH | lch(35.49, 49.67, 289.49°) |
| OKLab | oklab(44.98% -0.01 -0.1343) |
| OKLCH | oklch(44.98% 0.135 265.8) |
| XYZ | xyz(10.3184, 8.7471, 33.9387) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.59
Cobalt
#0047AB
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 4.06
Dusk Blue
#26538D
ΔE00 4.27
Denim Blue
#3B5B92
ΔE00 4.58
Dusky Blue
#475F94
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314F9F #9F8131
analogous
#31869F #314F9F #4A319F
triadic
#314F9F #9F314F #4F9F31
tetradic
#314F9F #9F3186 #9F8131 #319F4A
square
#314F9F #9F3186 #9F8131 #319F4A
split-complementary
#314F9F #9F4A31 #869F31
monochromatic
#142141 #233870 #314F9F #476AC6 #7690D5
Accessibility & contrast
On white
7.64
#314F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#314F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314F9F
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314F9F | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314f9f; /* rgb */ color: rgb(49, 79, 159); /* oklch */ color: oklch(45.0% 0.135 265.8);
Tailwind
colors: {
custom: {
50: '#767fbc',
500: '#314f9f',
950: '#000000',
},
}SCSS
$custom: #314f9f; $custom-light: #767fbc; $custom-dark: #000000;
JSON
{
"hex": "#314f9f",
"rgb": {
"r": 49,
"g": 79,
"b": 159
},
"hsl": {
"h": 223.636,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.44979,
"c": 0.1347,
"h": 265.8
},
"luminance": 0.08748
}Semantic roles & 50–950 ramp
primary
#314F9F
secondary
#BDA86F
accent
#B54CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81