#394CB7#394CB7
#394CB7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.170 H 270.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #394CB7 |
|---|---|
| RGB | rgb(57, 76, 183) |
| HSL | hsl(231, 53%, 47%) |
| HSV | hsv(231, 69%, 72%) |
| CMYK | cmyk(68.9%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(36.85, 28.60, -58.89) |
| CIE-LCH | lch(36.85, 65.47, 295.90°) |
| OKLab | oklab(46.67% 0.0021 -0.1697) |
| OKLCH | oklch(46.67% 0.17 270.7) |
| XYZ | xyz(12.8161, 9.4564, 45.9404) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 4.75
Cobalt
#0047AB
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.08
Blue (survey)
#0343DF
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CB7 #B7A439
analogous
#398BB7 #394CB7 #6539B7
triadic
#394CB7 #B7394C #4CB739
tetradic
#394CB7 #B7398B #B7A439 #39B765
square
#394CB7 #B7398B #B7A439 #39B765
split-complementary
#394CB7 #B76539 #8BB739
monochromatic
#1C255A #2A3988 #394CB7 #6070CD #8E9ADC
Accessibility & contrast
On white
7.26
#394CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#394CB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CB7
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CB7 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #394cb7; /* rgb */ color: rgb(57, 76, 183); /* oklch */ color: oklch(46.7% 0.170 270.7);
Tailwind
colors: {
custom: {
50: '#7f7dcd',
500: '#394cb7',
950: '#000000',
},
}SCSS
$custom: #394cb7; $custom-light: #7f7dcd; $custom-dark: #000000;
JSON
{
"hex": "#394cb7",
"rgb": {
"r": 57,
"g": 76,
"b": 183
},
"hsl": {
"h": 230.952,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.46666,
"c": 0.16969,
"h": 270.7
},
"luminance": 0.09458
}Semantic roles & 50–950 ramp
primary
#394CB7
secondary
#C7BD85
accent
#C64CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82