#394BB7#394BB7
#394BB7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.171 H 271.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #394BB7 |
|---|---|
| RGB | rgb(57, 75, 183) |
| HSL | hsl(231, 53%, 47%) |
| HSV | hsv(231, 69%, 72%) |
| CMYK | cmyk(68.9%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(36.59, 29.25, -59.30) |
| CIE-LCH | lch(36.59, 66.12, 296.25°) |
| OKLab | oklab(46.48% 0.0029 -0.1709) |
| OKLCH | oklch(46.48% 0.171 271) |
| XYZ | xyz(12.7478, 9.3197, 45.9176) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.51
Ocean Blue
#4F42B5
ΔE00 4.82
Cobalt
#0047AB
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 4.98
Blue (survey)
#0343DF
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394BB7 #B7A539
analogous
#398AB7 #394BB7 #6639B7
triadic
#394BB7 #B7394B #4BB739
tetradic
#394BB7 #B7398A #B7A539 #39B766
square
#394BB7 #B7398A #B7A539 #39B766
split-complementary
#394BB7 #B76639 #8AB739
monochromatic
#1C255A #2A3888 #394BB7 #606FCD #8E9ADC
Accessibility & contrast
On white
7.33
#394BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#394BB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394BB7
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394BB7 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #394bb7; /* rgb */ color: rgb(57, 75, 183); /* oklch */ color: oklch(46.5% 0.171 271.0);
Tailwind
colors: {
custom: {
50: '#7f7dcd',
500: '#394bb7',
950: '#000000',
},
}SCSS
$custom: #394bb7; $custom-light: #7f7dcd; $custom-dark: #000000;
JSON
{
"hex": "#394bb7",
"rgb": {
"r": 57,
"g": 75,
"b": 183
},
"hsl": {
"h": 231.429,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.46476,
"c": 0.17094,
"h": 271
},
"luminance": 0.09321
}Semantic roles & 50–950 ramp
primary
#394BB7
secondary
#C7BD85
accent
#C74CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82