#394CB9#394CB9
#394CB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.172 H 270.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #394CB9 |
|---|---|
| RGB | rgb(57, 76, 185) |
| HSL | hsl(231, 53%, 47%) |
| HSV | hsv(231, 69%, 73%) |
| CMYK | cmyk(69.2%, 58.9%, 0%, 27.5%) |
| CIE-LAB | lab(37.00, 29.32, -59.81) |
| CIE-LCH | lch(37.00, 66.61, 296.11°) |
| OKLab | oklab(46.83% 0.0021 -0.1724) |
| OKLCH | oklch(46.83% 0.172 270.7) |
| XYZ | xyz(13.0258, 9.5403, 47.0445) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.59
Sapphire
#0F52BA
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.06
Blue (survey)
#0343DF
ΔE00 5.33
Warm Blue
#4B57DB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CB9 #B9A639
analogous
#398CB9 #394CB9 #6639B9
triadic
#394CB9 #B9394C #4CB939
tetradic
#394CB9 #B9398C #B9A639 #39B966
square
#394CB9 #B9398C #B9A639 #39B966
split-complementary
#394CB9 #B96639 #8CB939
monochromatic
#1C265B #2B398A #394CB9 #6171CE #909BDD
Accessibility & contrast
On white
7.22
#394CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#394CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CB9
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CB9 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #394cb9; /* rgb */ color: rgb(57, 76, 185); /* oklch */ color: oklch(46.8% 0.172 270.7);
Tailwind
colors: {
custom: {
50: '#7f7dcf',
500: '#394cb9',
950: '#000000',
},
}SCSS
$custom: #394cb9; $custom-light: #7f7dcf; $custom-dark: #000000;
JSON
{
"hex": "#394cb9",
"rgb": {
"r": 57,
"g": 76,
"b": 185
},
"hsl": {
"h": 231.094,
"s": 52.893,
"l": 47.451
},
"oklch": {
"l": 0.46831,
"c": 0.1724,
"h": 270.7
},
"luminance": 0.09542
}Semantic roles & 50–950 ramp
primary
#394CB9
secondary
#C8BE86
accent
#C74BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82