#394BB1#394BB1
#394BB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.163 H 271.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #394BB1 |
|---|---|
| RGB | rgb(57, 75, 177) |
| HSL | hsl(231, 51%, 46%) |
| HSV | hsv(231, 68%, 69%) |
| CMYK | cmyk(67.8%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(36.13, 27.09, -56.51) |
| CIE-LCH | lch(36.13, 62.67, 295.61°) |
| OKLab | oklab(45.98% 0.0028 -0.1627) |
| OKLCH | oklch(45.98% 0.163 271) |
| XYZ | xyz(12.1365, 9.0752, 42.6985) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.74
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394BB1 #B19F39
analogous
#3987B1 #394BB1 #6339B1
triadic
#394BB1 #B1394B #4BB139
tetradic
#394BB1 #B13987 #B19F39 #39B163
square
#394BB1 #B13987 #B19F39 #39B163
split-complementary
#394BB1 #B16339 #87B139
monochromatic
#1B2454 #2A3783 #394BB1 #5D6DCB #8B97DA
Accessibility & contrast
On white
7.46
#394BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#394BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394BB1
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394BB1 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #394bb1; /* rgb */ color: rgb(57, 75, 177); /* oklch */ color: oklch(46.0% 0.163 271.0);
Tailwind
colors: {
custom: {
50: '#7e7dc9',
500: '#394bb1',
950: '#000000',
},
}SCSS
$custom: #394bb1; $custom-light: #7e7dc9; $custom-dark: #000000;
JSON
{
"hex": "#394bb1",
"rgb": {
"r": 57,
"g": 75,
"b": 177
},
"hsl": {
"h": 231,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.45984,
"c": 0.16274,
"h": 271
},
"luminance": 0.09076
}Semantic roles & 50–950 ramp
primary
#394BB1
secondary
#C4BA82
accent
#C54DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82