#314199#314199
#314199 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.144 H 271.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #314199 |
|---|---|
| RGB | rgb(49, 65, 153) |
| HSL | hsl(231, 51%, 40%) |
| HSV | hsv(231, 68%, 60%) |
| CMYK | cmyk(68%, 57.5%, 0%, 40%) |
| CIE-LAB | lab(31.19, 23.68, -50.15) |
| CIE-LCH | lch(31.19, 55.47, 295.28°) |
| OKLab | oklab(41.59% 0.0025 -0.1443) |
| OKLCH | oklch(41.59% 0.144 271) |
| XYZ | xyz(8.9047, 6.7326, 30.9611) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.74
Sapphire (survey)
#2138AB
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.43
Blue Blue
#2242C7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314199 #998931
analogous
#317599 #314199 #553199
triadic
#314199 #993141 #419931
tetradic
#314199 #993175 #998931 #319955
square
#314199 #993175 #998931 #319955
split-complementary
#314199 #995531 #759931
monochromatic
#131A3C #222D6B #314199 #4458C3 #7281D2
Accessibility & contrast
On white
8.95
#314199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#314199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314199
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314199 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #314199; /* rgb */ color: rgb(49, 65, 153); /* oklch */ color: oklch(41.6% 0.144 271.0);
Tailwind
colors: {
custom: {
50: '#7675b8',
500: '#314199',
950: '#000000',
},
}SCSS
$custom: #314199; $custom-light: #7675b8; $custom-dark: #000000;
JSON
{
"hex": "#314199",
"rgb": {
"r": 49,
"g": 65,
"b": 153
},
"hsl": {
"h": 230.769,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.41592,
"c": 0.14435,
"h": 271
},
"luminance": 0.06733
}Semantic roles & 50–950 ramp
primary
#314199
secondary
#BAAE6C
accent
#C54DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80