#314197#314197
#314197 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.141 H 271.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #314197 |
|---|---|
| RGB | rgb(49, 65, 151) |
| HSL | hsl(231, 51%, 39%) |
| HSV | hsv(231, 68%, 59%) |
| CMYK | cmyk(67.5%, 57%, 0%, 40.8%) |
| CIE-LAB | lab(31.04, 22.94, -49.19) |
| CIE-LCH | lch(31.04, 54.27, 295.01°) |
| OKLab | oklab(41.43% 0.0024 -0.1415) |
| OKLCH | oklch(41.43% 0.142 271) |
| XYZ | xyz(8.7409, 6.6671, 30.0984) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 4.91
Cobalt
#0047AB
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314197 #978731
analogous
#317497 #314197 #543197
triadic
#314197 #973141 #419731
tetradic
#314197 #973174 #978731 #319754
square
#314197 #973174 #978731 #319754
split-complementary
#314197 #975431 #749731
monochromatic
#13193B #222D69 #314197 #4357C2 #7180D1
Accessibility & contrast
On white
9.00
#314197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#314197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314197
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314197 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #314197; /* rgb */ color: rgb(49, 65, 151); /* oklch */ color: oklch(41.4% 0.141 271.0);
Tailwind
colors: {
custom: {
50: '#7575b6',
500: '#314197',
950: '#000000',
},
}SCSS
$custom: #314197; $custom-light: #7575b6; $custom-dark: #000000;
JSON
{
"hex": "#314197",
"rgb": {
"r": 49,
"g": 65,
"b": 151
},
"hsl": {
"h": 230.588,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.41429,
"c": 0.1415,
"h": 271
},
"luminance": 0.06668
}Semantic roles & 50–950 ramp
primary
#314197
secondary
#B9AD6B
accent
#C44DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80