#394FB1#394FB1
#394FB1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.158 H 269.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #394FB1 |
|---|---|
| RGB | rgb(57, 79, 177) |
| HSL | hsl(229, 51%, 46%) |
| HSV | hsv(229, 68%, 69%) |
| CMYK | cmyk(67.8%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(37.18, 24.48, -54.81) |
| CIE-LCH | lch(37.18, 60.03, 294.07°) |
| OKLab | oklab(46.77% -0.0007 -0.1577) |
| OKLCH | oklch(46.77% 0.158 269.8) |
| XYZ | xyz(12.4164, 9.6350, 42.7918) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 6.19
Cobalt (survey)
#1E488F
ΔE00 6.33
Denim Blue
#3B5B92
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FB1 #B19B39
analogous
#398BB1 #394FB1 #5F39B1
triadic
#394FB1 #B1394F #4FB139
tetradic
#394FB1 #B1398B #B19B39 #39B15F
square
#394FB1 #B1398B #B19B39 #39B15F
split-complementary
#394FB1 #B15F39 #8BB139
monochromatic
#1B2654 #2A3A83 #394FB1 #5D71CB #8B99DA
Accessibility & contrast
On white
7.17
#394FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#394FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394FB1
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FB1 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #394fb1; /* rgb */ color: rgb(57, 79, 177); /* oklch */ color: oklch(46.8% 0.158 269.8);
Tailwind
colors: {
custom: {
50: '#7d80c9',
500: '#394fb1',
950: '#000000',
},
}SCSS
$custom: #394fb1; $custom-light: #7d80c9; $custom-dark: #000000;
JSON
{
"hex": "#394fb1",
"rgb": {
"r": 57,
"g": 79,
"b": 177
},
"hsl": {
"h": 229,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.46771,
"c": 0.15765,
"h": 269.8
},
"luminance": 0.09636
}Semantic roles & 50–950 ramp
primary
#394FB1
secondary
#C4B882
accent
#C14DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82