#394497#394497
#394497 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.135 H 273.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #394497 |
|---|---|
| RGB | rgb(57, 68, 151) |
| HSL | hsl(233, 45%, 41%) |
| HSV | hsv(233, 62%, 59%) |
| CMYK | cmyk(62.3%, 55%, 0%, 40.8%) |
| CIE-LAB | lab(32.34, 22.35, -47.05) |
| CIE-LCH | lch(32.34, 52.09, 295.41°) |
| OKLab | oklab(42.54% 0.0083 -0.135) |
| OKLCH | oklch(42.54% 0.135 273.5) |
| XYZ | xyz(9.3385, 7.2377, 30.1771) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.97
Darkslateblue
#483D8B
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 5.16
Cobalt (survey)
#1E488F
ΔE00 5.31
Cobalt
#0047AB
ΔE00 5.54
Twilight
#4E518B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394497 #978C39
analogous
#397397 #394497 #5D3997
triadic
#394497 #973944 #449739
tetradic
#394497 #973973 #978C39 #39975D
square
#394497 #973973 #978C39 #39975D
split-complementary
#394497 #975D39 #739739
monochromatic
#171C3E #28306B #394497 #505DBD #7D86CE
Accessibility & contrast
On white
8.58
#394497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#394497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394497
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394497 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C509A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #394497; /* rgb */ color: rgb(57, 68, 151); /* oklch */ color: oklch(42.5% 0.135 273.5);
Tailwind
colors: {
custom: {
50: '#7977b6',
500: '#394497',
950: '#000000',
},
}SCSS
$custom: #394497; $custom-light: #7977b6; $custom-dark: #000000;
JSON
{
"hex": "#394497",
"rgb": {
"r": 57,
"g": 68,
"b": 151
},
"hsl": {
"h": 232.979,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.42539,
"c": 0.13522,
"h": 273.5
},
"luminance": 0.07238
}Semantic roles & 50–950 ramp
primary
#394497
secondary
#B7AF75
accent
#C653D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80