#394496#394496
#394496 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.134 H 273.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #394496 |
|---|---|
| RGB | rgb(57, 68, 150) |
| HSL | hsl(233, 45%, 41%) |
| HSV | hsv(233, 62%, 59%) |
| CMYK | cmyk(62%, 54.7%, 0%, 41.2%) |
| CIE-LAB | lab(32.27, 21.99, -46.56) |
| CIE-LCH | lch(32.27, 51.49, 295.28°) |
| OKLab | oklab(42.46% 0.0083 -0.1335) |
| OKLCH | oklch(42.46% 0.134 273.5) |
| XYZ | xyz(9.2577, 7.2054, 29.7512) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.99
Darkslateblue
#483D8B
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.60
Twilight
#4E518B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394496 #968B39
analogous
#397296 #394496 #5C3996
triadic
#394496 #963944 #449639
tetradic
#394496 #963972 #968B39 #39965C
square
#394496 #963972 #968B39 #39965C
split-complementary
#394496 #965C39 #729639
monochromatic
#171C3D #28306A #394496 #505DBC #7C86CD
Accessibility & contrast
On white
8.60
#394496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#394496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394496
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394496 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #394496; /* rgb */ color: rgb(57, 68, 150); /* oklch */ color: oklch(42.5% 0.134 273.5);
Tailwind
colors: {
custom: {
50: '#7977b5',
500: '#394496',
950: '#000000',
},
}SCSS
$custom: #394496; $custom-light: #7977b5; $custom-dark: #000000;
JSON
{
"hex": "#394496",
"rgb": {
"r": 57,
"g": 68,
"b": 150
},
"hsl": {
"h": 232.903,
"s": 44.928,
"l": 40.588
},
"oklch": {
"l": 0.42462,
"c": 0.13377,
"h": 273.5
},
"luminance": 0.07206
}Semantic roles & 50–950 ramp
primary
#394496
secondary
#B7AF74
accent
#C553D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80