#394199#394199
#394199 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.142 H 274.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #394199 |
|---|---|
| RGB | rgb(57, 65, 153) |
| HSL | hsl(235, 46%, 41%) |
| HSV | hsv(235, 63%, 60%) |
| CMYK | cmyk(62.7%, 57.5%, 0%, 40%) |
| CIE-LAB | lab(31.69, 25.04, -49.32) |
| CIE-LCH | lch(31.69, 55.31, 296.92°) |
| OKLab | oklab(42.1% 0.0114 -0.1417) |
| OKLCH | oklch(42.1% 0.142 274.6) |
| XYZ | xyz(9.3255, 6.9496, 30.9808) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.48
Sapphire (survey)
#2138AB
ΔE00 4.31
Darkslateblue
#483D8B
ΔE00 4.32
Ocean Blue
#4F42B5
ΔE00 5.62
Cobalt
#0047AB
ΔE00 5.93
Cobalt (survey)
#1E488F
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394199 #999139
analogous
#397199 #394199 #613999
triadic
#394199 #993941 #419939
tetradic
#394199 #993971 #999139 #399961
square
#394199 #993971 #999139 #399961
split-complementary
#394199 #996139 #719939
monochromatic
#181B40 #282E6C #394199 #515ABE #7E84CF
Accessibility & contrast
On white
8.79
#394199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#394199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394199
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394199 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #394199; /* rgb */ color: rgb(57, 65, 153); /* oklch */ color: oklch(42.1% 0.142 274.6);
Tailwind
colors: {
custom: {
50: '#7a75b8',
500: '#394199',
950: '#000000',
},
}SCSS
$custom: #394199; $custom-light: #7a75b8; $custom-dark: #000000;
JSON
{
"hex": "#394199",
"rgb": {
"r": 57,
"g": 65,
"b": 153
},
"hsl": {
"h": 235,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.421,
"c": 0.14213,
"h": 274.6
},
"luminance": 0.0695
}Semantic roles & 50–950 ramp
primary
#394199
secondary
#B8B376
accent
#CA52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80