#394EBA#394EBA
#394EBA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.171 H 270.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #394EBA |
|---|---|
| RGB | rgb(57, 78, 186) |
| HSL | hsl(230, 53%, 48%) |
| HSV | hsv(230, 69%, 73%) |
| CMYK | cmyk(69.4%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(37.59, 28.39, -59.44) |
| CIE-LCH | lch(37.59, 65.87, 295.53°) |
| OKLab | oklab(47.3% 0.0005 -0.1713) |
| OKLCH | oklch(47.3% 0.171 270.2) |
| XYZ | xyz(13.2716, 9.8625, 47.6491) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.39
Cobalt
#0047AB
ΔE00 5.13
Blue (survey)
#0343DF
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.55
Warm Blue
#4B57DB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394EBA #BAA539
analogous
#398EBA #394EBA #6539BA
triadic
#394EBA #BA394E #4EBA39
tetradic
#394EBA #BA398E #BAA539 #39BA65
square
#394EBA #BA398E #BAA539 #39BA65
split-complementary
#394EBA #BA6539 #8EBA39
monochromatic
#1C275C #2B3A8B #394EBA #6173CF #909DDD
Accessibility & contrast
On white
7.06
#394EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#394EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394EBA
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394EBA | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #394eba; /* rgb */ color: rgb(57, 78, 186); /* oklch */ color: oklch(47.3% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#7f7fd0',
500: '#394eba',
950: '#000000',
},
}SCSS
$custom: #394eba; $custom-light: #7f7fd0; $custom-dark: #000000;
JSON
{
"hex": "#394eba",
"rgb": {
"r": 57,
"g": 78,
"b": 186
},
"hsl": {
"h": 230.233,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.47295,
"c": 0.17128,
"h": 270.2
},
"luminance": 0.09864
}Semantic roles & 50–950 ramp
primary
#394EBA
secondary
#C8BD87
accent
#C54BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82