#394AB5#394AB5
#394AB5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.169 H 271.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #394AB5 |
|---|---|
| RGB | rgb(57, 74, 181) |
| HSL | hsl(232, 52%, 47%) |
| HSV | hsv(232, 69%, 71%) |
| CMYK | cmyk(68.5%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(36.18, 29.17, -58.79) |
| CIE-LCH | lch(36.18, 65.64, 296.39°) |
| OKLab | oklab(46.12% 0.0037 -0.1694) |
| OKLCH | oklch(46.12% 0.169 271.2) |
| XYZ | xyz(12.4738, 9.1024, 44.8067) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.48
Ocean Blue
#4F42B5
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.86
Sapphire
#0F52BA
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.52
Blue (survey)
#0343DF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AB5 #B5A439
analogous
#3988B5 #394AB5 #6639B5
triadic
#394AB5 #B5394A #4AB539
tetradic
#394AB5 #B53988 #B5A439 #39B566
square
#394AB5 #B53988 #B5A439 #39B566
split-complementary
#394AB5 #B56639 #88B539
monochromatic
#1C2458 #2A3786 #394AB5 #5F6ECD #8D98DB
Accessibility & contrast
On white
7.44
#394AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#394AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AB5
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AB5 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #394ab5; /* rgb */ color: rgb(57, 74, 181); /* oklch */ color: oklch(46.1% 0.169 271.2);
Tailwind
colors: {
custom: {
50: '#7f7ccc',
500: '#394ab5',
950: '#000000',
},
}SCSS
$custom: #394ab5; $custom-light: #7f7ccc; $custom-dark: #000000;
JSON
{
"hex": "#394ab5",
"rgb": {
"r": 57,
"g": 74,
"b": 181
},
"hsl": {
"h": 231.774,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.4612,
"c": 0.16947,
"h": 271.2
},
"luminance": 0.09104
}Semantic roles & 50–950 ramp
primary
#394AB5
secondary
#C6BD84
accent
#C84CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82