#394EBB#394EBB
#394EBB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.173 H 270.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #394EBB |
|---|---|
| RGB | rgb(57, 78, 187) |
| HSL | hsl(230, 53%, 48%) |
| HSV | hsv(230, 70%, 73%) |
| CMYK | cmyk(69.5%, 58.3%, 0%, 26.7%) |
| CIE-LAB | lab(37.67, 28.75, -59.90) |
| CIE-LCH | lch(37.67, 66.44, 295.64°) |
| OKLab | oklab(47.38% 0.0005 -0.1726) |
| OKLCH | oklch(47.38% 0.173 270.2) |
| XYZ | xyz(13.3783, 9.9052, 48.2109) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.98
Sapphire
#0F52BA
ΔE00 4.43
Cobalt
#0047AB
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 5.40
Ocean Blue
#4F42B5
ΔE00 5.53
Warm Blue
#4B57DB
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394EBB #BBA639
analogous
#398FBB #394EBB #6539BB
triadic
#394EBB #BB394E #4EBB39
tetradic
#394EBB #BB398F #BBA639 #39BB65
square
#394EBB #BB398F #BBA639 #39BB65
split-complementary
#394EBB #BB6539 #8FBB39
monochromatic
#1C275D #2B3A8C #394EBB #6274CF #919DDD
Accessibility & contrast
On white
7.04
#394EBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#394EBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394EBB
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394EBB | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #394ebb; /* rgb */ color: rgb(57, 78, 187); /* oklch */ color: oklch(47.4% 0.173 270.2);
Tailwind
colors: {
custom: {
50: '#807fd0',
500: '#394ebb',
950: '#000000',
},
}SCSS
$custom: #394ebb; $custom-light: #807fd0; $custom-dark: #000000;
JSON
{
"hex": "#394ebb",
"rgb": {
"r": 57,
"g": 78,
"b": 187
},
"hsl": {
"h": 230.308,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.47377,
"c": 0.17263,
"h": 270.2
},
"luminance": 0.09906
}Semantic roles & 50–950 ramp
primary
#394EBB
secondary
#C8BE87
accent
#C54BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82