#394AB1#394AB1
#394AB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.164 H 271.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #394AB1 |
|---|---|
| RGB | rgb(57, 74, 177) |
| HSL | hsl(232, 51%, 46%) |
| HSV | hsv(232, 68%, 69%) |
| CMYK | cmyk(67.8%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.87, 27.74, -56.93) |
| CIE-LCH | lch(35.87, 63.33, 295.98°) |
| OKLab | oklab(45.79% 0.0037 -0.164) |
| OKLCH | oklch(45.79% 0.164 271.3) |
| XYZ | xyz(12.0693, 8.9406, 42.6761) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.45
Blueberry
#464196
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AB1 #B1A039
analogous
#3986B1 #394AB1 #6439B1
triadic
#394AB1 #B1394A #4AB139
tetradic
#394AB1 #B13986 #B1A039 #39B164
square
#394AB1 #B13986 #B1A039 #39B164
split-complementary
#394AB1 #B16439 #86B139
monochromatic
#1B2354 #2A3783 #394AB1 #5D6CCB #8B96DA
Accessibility & contrast
On white
7.53
#394AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#394AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AB1
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AB1 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #394ab1; /* rgb */ color: rgb(57, 74, 177); /* oklch */ color: oklch(45.8% 0.164 271.3);
Tailwind
colors: {
custom: {
50: '#7e7cc9',
500: '#394ab1',
950: '#000000',
},
}SCSS
$custom: #394ab1; $custom-light: #7e7cc9; $custom-dark: #000000;
JSON
{
"hex": "#394ab1",
"rgb": {
"r": 57,
"g": 74,
"b": 177
},
"hsl": {
"h": 231.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.45791,
"c": 0.164,
"h": 271.3
},
"luminance": 0.08942
}Semantic roles & 50–950 ramp
primary
#394AB1
secondary
#C4BB82
accent
#C74DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82