#394BB5#394BB5
#394BB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.168 H 271.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #394BB5 |
|---|---|
| RGB | rgb(57, 75, 181) |
| HSL | hsl(231, 52%, 47%) |
| HSV | hsv(231, 69%, 71%) |
| CMYK | cmyk(68.5%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(36.44, 28.53, -58.38) |
| CIE-LCH | lch(36.44, 64.98, 296.04°) |
| OKLab | oklab(46.31% 0.0029 -0.1682) |
| OKLCH | oklch(46.31% 0.168 271) |
| XYZ | xyz(12.5411, 9.2370, 44.8291) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.69
Cobalt
#0047AB
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 4.95
Blue (survey)
#0343DF
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394BB5 #B5A339
analogous
#3989B5 #394BB5 #6539B5
triadic
#394BB5 #B5394B #4BB539
tetradic
#394BB5 #B53989 #B5A339 #39B565
square
#394BB5 #B53989 #B5A339 #39B565
split-complementary
#394BB5 #B56539 #89B539
monochromatic
#1C2458 #2A3886 #394BB5 #5F6FCD #8D99DB
Accessibility & contrast
On white
7.37
#394BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#394BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394BB5
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394BB5 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #394bb5; /* rgb */ color: rgb(57, 75, 181); /* oklch */ color: oklch(46.3% 0.168 271.0);
Tailwind
colors: {
custom: {
50: '#7f7dcc',
500: '#394bb5',
950: '#000000',
},
}SCSS
$custom: #394bb5; $custom-light: #7f7dcc; $custom-dark: #000000;
JSON
{
"hex": "#394bb5",
"rgb": {
"r": 57,
"g": 75,
"b": 181
},
"hsl": {
"h": 231.29,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.46311,
"c": 0.16822,
"h": 271
},
"luminance": 0.09238
}Semantic roles & 50–950 ramp
primary
#394BB5
secondary
#C6BC84
accent
#C74CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82