#314D9F#314D9F
#314D9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.137 H 266.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #314D9F |
|---|---|
| RGB | rgb(49, 77, 159) |
| HSL | hsl(225, 53%, 41%) |
| HSV | hsv(225, 69%, 62%) |
| CMYK | cmyk(69.2%, 51.6%, 0%, 37.6%) |
| CIE-LAB | lab(34.93, 17.90, -47.73) |
| CIE-LCH | lch(34.93, 50.98, 290.56°) |
| OKLab | oklab(44.55% -0.0081 -0.137) |
| OKLCH | oklch(44.55% 0.137 266.6) |
| XYZ | xyz(10.1763, 8.4629, 33.8914) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.50
Cobalt (survey)
#1E488F
ΔE00 3.52
Sapphire
#0F52BA
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 4.79
Denim Blue
#3B5B92
ΔE00 5.23
Dusky Blue
#475F94
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314D9F #9F8331
analogous
#31849F #314D9F #4C319F
triadic
#314D9F #9F314D #4D9F31
tetradic
#314D9F #9F3184 #9F8331 #319F4C
square
#314D9F #9F3184 #9F8331 #319F4C
split-complementary
#314D9F #9F4C31 #849F31
monochromatic
#142041 #233670 #314D9F #4767C6 #768ED5
Accessibility & contrast
On white
7.80
#314D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#314D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314D9F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314D9F | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314d9f; /* rgb */ color: rgb(49, 77, 159); /* oklch */ color: oklch(44.5% 0.137 266.6);
Tailwind
colors: {
custom: {
50: '#767ebc',
500: '#314d9f',
950: '#000000',
},
}SCSS
$custom: #314d9f; $custom-light: #767ebc; $custom-dark: #000000;
JSON
{
"hex": "#314d9f",
"rgb": {
"r": 49,
"g": 77,
"b": 159
},
"hsl": {
"h": 224.727,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.4455,
"c": 0.13727,
"h": 266.6
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#314D9F
secondary
#BDA96F
accent
#B74CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81