#394AB2#394AB2
#394AB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.165 H 271.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #394AB2 |
|---|---|
| RGB | rgb(57, 74, 178) |
| HSL | hsl(232, 51%, 46%) |
| HSV | hsv(232, 68%, 70%) |
| CMYK | cmyk(68%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(35.95, 28.10, -57.40) |
| CIE-LCH | lch(35.95, 63.91, 296.08°) |
| OKLab | oklab(45.87% 0.0037 -0.1653) |
| OKLCH | oklch(45.87% 0.165 271.3) |
| XYZ | xyz(12.1693, 8.9806, 43.2030) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.78
Cobalt
#0047AB
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.76
Sapphire
#0F52BA
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.46
Blueberry
#464196
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AB2 #B2A139
analogous
#3986B2 #394AB2 #6439B2
triadic
#394AB2 #B2394A #4AB239
tetradic
#394AB2 #B23986 #B2A139 #39B264
square
#394AB2 #B23986 #B2A139 #39B264
split-complementary
#394AB2 #B26439 #86B239
monochromatic
#1B2355 #2A3784 #394AB2 #5D6DCB #8B96DA
Accessibility & contrast
On white
7.51
#394AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#394AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AB2
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AB2 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #394ab2; /* rgb */ color: rgb(57, 74, 178); /* oklch */ color: oklch(45.9% 0.165 271.3);
Tailwind
colors: {
custom: {
50: '#7e7cca',
500: '#394ab2',
950: '#000000',
},
}SCSS
$custom: #394ab2; $custom-light: #7e7cca; $custom-dark: #000000;
JSON
{
"hex": "#394ab2",
"rgb": {
"r": 57,
"g": 74,
"b": 178
},
"hsl": {
"h": 231.57,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.45873,
"c": 0.16538,
"h": 271.3
},
"luminance": 0.08982
}Semantic roles & 50–950 ramp
primary
#394AB2
secondary
#C4BB82
accent
#C74DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82