#394AB9#394AB9
#394AB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.175 H 271.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #394AB9 |
|---|---|
| RGB | rgb(57, 74, 185) |
| HSL | hsl(232, 53%, 47%) |
| HSV | hsv(232, 69%, 73%) |
| CMYK | cmyk(69.2%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(36.50, 30.61, -60.64) |
| CIE-LCH | lch(36.50, 67.92, 296.78°) |
| OKLab | oklab(46.45% 0.0037 -0.1748) |
| OKLCH | oklch(46.45% 0.175 271.2) |
| XYZ | xyz(12.8901, 9.2690, 46.9993) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.14
Ocean Blue
#4F42B5
ΔE00 4.52
Blue (survey)
#0343DF
ΔE00 5.10
Cobalt
#0047AB
ΔE00 5.14
Sapphire
#0F52BA
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AB9 #B9A839
analogous
#398AB9 #394AB9 #6839B9
triadic
#394AB9 #B9394A #4AB939
tetradic
#394AB9 #B9398A #B9A839 #39B968
square
#394AB9 #B9398A #B9A839 #39B968
split-complementary
#394AB9 #B96839 #8AB939
monochromatic
#1C255B #2B378A #394AB9 #616FCE #909ADD
Accessibility & contrast
On white
7.36
#394AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#394AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AB9
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AB9 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #394ab9; /* rgb */ color: rgb(57, 74, 185); /* oklch */ color: oklch(46.5% 0.175 271.2);
Tailwind
colors: {
custom: {
50: '#807ccf',
500: '#394ab9',
950: '#000000',
},
}SCSS
$custom: #394ab9; $custom-light: #807ccf; $custom-dark: #000000;
JSON
{
"hex": "#394ab9",
"rgb": {
"r": 57,
"g": 74,
"b": 185
},
"hsl": {
"h": 232.031,
"s": 52.893,
"l": 47.451
},
"oklch": {
"l": 0.46454,
"c": 0.17488,
"h": 271.2
},
"luminance": 0.0927
}Semantic roles & 50–950 ramp
primary
#394AB9
secondary
#C8BF86
accent
#C94BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82