#394AB7#394AB7
#394AB7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.172 H 271.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #394AB7 |
|---|---|
| RGB | rgb(57, 74, 183) |
| HSL | hsl(232, 53%, 47%) |
| HSV | hsv(232, 69%, 72%) |
| CMYK | cmyk(68.9%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(36.34, 29.89, -59.72) |
| CIE-LCH | lch(36.34, 66.78, 296.59°) |
| OKLab | oklab(46.29% 0.0037 -0.1721) |
| OKLCH | oklch(46.29% 0.172 271.2) |
| XYZ | xyz(12.6805, 9.1851, 45.8952) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.30
Ocean Blue
#4F42B5
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.99
Sapphire
#0F52BA
ΔE00 5.23
Blue (survey)
#0343DF
ΔE00 5.34
Sapphire (survey)
#2138AB
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AB7 #B7A639
analogous
#3989B7 #394AB7 #6739B7
triadic
#394AB7 #B7394A #4AB739
tetradic
#394AB7 #B73989 #B7A639 #39B767
square
#394AB7 #B73989 #B7A639 #39B767
split-complementary
#394AB7 #B76739 #89B739
monochromatic
#1C245A #2A3788 #394AB7 #606FCD #8E99DC
Accessibility & contrast
On white
7.40
#394AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#394AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AB7
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AB7 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #394ab7; /* rgb */ color: rgb(57, 74, 183); /* oklch */ color: oklch(46.3% 0.172 271.2);
Tailwind
colors: {
custom: {
50: '#7f7ccd',
500: '#394ab7',
950: '#000000',
},
}SCSS
$custom: #394ab7; $custom-light: #7f7ccd; $custom-dark: #000000;
JSON
{
"hex": "#394ab7",
"rgb": {
"r": 57,
"g": 74,
"b": 183
},
"hsl": {
"h": 231.905,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.46287,
"c": 0.17218,
"h": 271.2
},
"luminance": 0.09186
}Semantic roles & 50–950 ramp
primary
#394AB7
secondary
#C7BE85
accent
#C84CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82