#394FB7#394FB7
#394FB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.166 H 269.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #394FB7 |
|---|---|
| RGB | rgb(57, 79, 183) |
| HSL | hsl(230, 53%, 47%) |
| HSV | hsv(230, 69%, 72%) |
| CMYK | cmyk(68.9%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(37.63, 26.65, -57.63) |
| CIE-LCH | lch(37.63, 63.49, 294.82°) |
| OKLab | oklab(47.25% -0.0004 -0.1659) |
| OKLCH | oklch(47.25% 0.166 269.9) |
| XYZ | xyz(13.0277, 9.8795, 46.0109) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.10
Blue Blue
#2242C7
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.92
Blue (survey)
#0343DF
ΔE00 6.02
Warm Blue
#4B57DB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FB7 #B7A139
analogous
#398EB7 #394FB7 #6239B7
triadic
#394FB7 #B7394F #4FB739
tetradic
#394FB7 #B7398E #B7A139 #39B762
square
#394FB7 #B7398E #B7A139 #39B762
split-complementary
#394FB7 #B76239 #8EB739
monochromatic
#1C275A #2A3B88 #394FB7 #6073CD #8E9CDC
Accessibility & contrast
On white
7.06
#394FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#394FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394FB7
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FB7 | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #394fb7; /* rgb */ color: rgb(57, 79, 183); /* oklch */ color: oklch(47.2% 0.166 269.9);
Tailwind
colors: {
custom: {
50: '#7f80cd',
500: '#394fb7',
950: '#000000',
},
}SCSS
$custom: #394fb7; $custom-light: #7f80cd; $custom-dark: #000000;
JSON
{
"hex": "#394fb7",
"rgb": {
"r": 57,
"g": 79,
"b": 183
},
"hsl": {
"h": 229.524,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.47246,
"c": 0.16593,
"h": 269.9
},
"luminance": 0.09881
}Semantic roles & 50–950 ramp
primary
#394FB7
secondary
#C7BB85
accent
#C34CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82