#314D9C#314D9C
#314D9C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.133 H 266.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #314D9C |
|---|---|
| RGB | rgb(49, 77, 156) |
| HSL | hsl(224, 52%, 40%) |
| HSV | hsv(224, 69%, 61%) |
| CMYK | cmyk(68.6%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.72, 16.78, -46.26) |
| CIE-LCH | lch(34.72, 49.21, 289.93°) |
| OKLab | oklab(44.33% -0.0084 -0.1327) |
| OKLCH | oklch(44.33% 0.133 266.4) |
| XYZ | xyz(9.9192, 8.3601, 32.5370) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.67
Dusk Blue
#26538D
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 5.07
Darkish Blue
#014182
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314D9C #9C8031
analogous
#31829C #314D9C #4A319C
triadic
#314D9C #9C314D #4D9C31
tetradic
#314D9C #9C3182 #9C8031 #319C4A
square
#314D9C #9C3182 #9C8031 #319C4A
split-complementary
#314D9C #9C4A31 #829C31
monochromatic
#141F3F #22366D #314D9C #4567C5 #748DD3
Accessibility & contrast
On white
7.86
#314D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#314D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314D9C
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314D9C | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314d9c; /* rgb */ color: rgb(49, 77, 156); /* oklch */ color: oklch(44.3% 0.133 266.4);
Tailwind
colors: {
custom: {
50: '#767eba',
500: '#314d9c',
950: '#000000',
},
}SCSS
$custom: #314d9c; $custom-light: #767eba; $custom-dark: #000000;
JSON
{
"hex": "#314d9c",
"rgb": {
"r": 49,
"g": 77,
"b": 156
},
"hsl": {
"h": 224.299,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.44326,
"c": 0.13297,
"h": 266.4
},
"luminance": 0.08361
}Semantic roles & 50–950 ramp
primary
#314D9C
secondary
#BBA76D
accent
#B64CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81