#394DB7#394DB7
#394DB7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.168 H 270.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #394DB7 |
|---|---|
| RGB | rgb(57, 77, 183) |
| HSL | hsl(230, 53%, 47%) |
| HSV | hsv(230, 69%, 72%) |
| CMYK | cmyk(68.9%, 57.9%, 0%, 28.2%) |
| CIE-LAB | lab(37.11, 27.95, -58.47) |
| CIE-LCH | lch(37.11, 64.81, 295.55°) |
| OKLab | oklab(46.86% 0.0013 -0.1684) |
| OKLCH | oklch(46.86% 0.168 270.4) |
| XYZ | xyz(12.8856, 9.5953, 45.9636) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.99
Sapphire
#0F52BA
ΔE00 4.52
Cobalt
#0047AB
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.35
Blue (survey)
#0343DF
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394DB7 #B7A339
analogous
#398CB7 #394DB7 #6439B7
triadic
#394DB7 #B7394D #4DB739
tetradic
#394DB7 #B7398C #B7A339 #39B764
square
#394DB7 #B7398C #B7A339 #39B764
split-complementary
#394DB7 #B76439 #8CB739
monochromatic
#1C265A #2A3988 #394DB7 #6071CD #8E9BDC
Accessibility & contrast
On white
7.19
#394DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#394DB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394DB7
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394DB7 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #394db7; /* rgb */ color: rgb(57, 77, 183); /* oklch */ color: oklch(46.9% 0.168 270.4);
Tailwind
colors: {
custom: {
50: '#7f7ecd',
500: '#394db7',
950: '#000000',
},
}SCSS
$custom: #394db7; $custom-light: #7f7ecd; $custom-dark: #000000;
JSON
{
"hex": "#394db7",
"rgb": {
"r": 57,
"g": 77,
"b": 183
},
"hsl": {
"h": 230.476,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.46858,
"c": 0.16844,
"h": 270.4
},
"luminance": 0.09597
}Semantic roles & 50–950 ramp
primary
#394DB7
secondary
#C7BC85
accent
#C54CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82