#314C9C#314C9C
#314C9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.134 H 266.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #314C9C |
|---|---|
| RGB | rgb(49, 76, 156) |
| HSL | hsl(225, 52%, 40%) |
| HSV | hsv(225, 69%, 61%) |
| CMYK | cmyk(68.6%, 51.3%, 0%, 38.8%) |
| CIE-LAB | lab(34.44, 17.44, -46.72) |
| CIE-LCH | lch(34.44, 49.87, 290.48°) |
| OKLab | oklab(44.11% -0.0075 -0.134) |
| OKLCH | oklch(44.11% 0.134 266.8) |
| XYZ | xyz(9.8497, 8.2212, 32.5138) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.40
Blueberry
#464196
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C9C #9C8131
analogous
#31819C #314C9C #4C319C
triadic
#314C9C #9C314C #4C9C31
tetradic
#314C9C #9C3181 #9C8131 #319C4C
square
#314C9C #9C3181 #9C8131 #319C4C
split-complementary
#314C9C #9C4C31 #819C31
monochromatic
#141F3F #22356D #314C9C #4566C5 #748CD3
Accessibility & contrast
On white
7.94
#314C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#314C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C9C
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C9C | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #314c9c; /* rgb */ color: rgb(49, 76, 156); /* oklch */ color: oklch(44.1% 0.134 266.8);
Tailwind
colors: {
custom: {
50: '#767dba',
500: '#314c9c',
950: '#000000',
},
}SCSS
$custom: #314c9c; $custom-light: #767dba; $custom-dark: #000000;
JSON
{
"hex": "#314c9c",
"rgb": {
"r": 49,
"g": 76,
"b": 156
},
"hsl": {
"h": 224.86,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.44111,
"c": 0.13426,
"h": 266.8
},
"luminance": 0.08222
}Semantic roles & 50–950 ramp
primary
#314C9C
secondary
#BBA86D
accent
#B74CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81