#394CB3#394CB3
#394CB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.164 H 270.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #394CB3 |
|---|---|
| RGB | rgb(57, 76, 179) |
| HSL | hsl(231, 52%, 46%) |
| HSV | hsv(231, 68%, 70%) |
| CMYK | cmyk(68.2%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(36.54, 27.16, -57.03) |
| CIE-LCH | lch(36.54, 63.16, 295.47°) |
| OKLab | oklab(46.34% 0.002 -0.1642) |
| OKLCH | oklch(46.34% 0.164 270.7) |
| XYZ | xyz(12.4057, 9.2922, 43.7789) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 5.23
Blue (survey)
#0343DF
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CB3 #B3A039
analogous
#3989B3 #394CB3 #6339B3
triadic
#394CB3 #B3394C #4CB339
tetradic
#394CB3 #B33989 #B3A039 #39B363
square
#394CB3 #B33989 #B3A039 #39B363
split-complementary
#394CB3 #B36339 #89B339
monochromatic
#1B2556 #2A3885 #394CB3 #5E6FCC #8C98DA
Accessibility & contrast
On white
7.35
#394CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#394CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CB3
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CB3 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #394cb3; /* rgb */ color: rgb(57, 76, 179); /* oklch */ color: oklch(46.3% 0.164 270.7);
Tailwind
colors: {
custom: {
50: '#7e7dca',
500: '#394cb3',
950: '#000000',
},
}SCSS
$custom: #394cb3; $custom-light: #7e7dca; $custom-dark: #000000;
JSON
{
"hex": "#394cb3",
"rgb": {
"r": 57,
"g": 76,
"b": 179
},
"hsl": {
"h": 230.656,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.4634,
"c": 0.16422,
"h": 270.7
},
"luminance": 0.09293
}Semantic roles & 50–950 ramp
primary
#394CB3
secondary
#C5BB83
accent
#C54DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82