#394FB5#394FB5
#394FB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.163 H 269.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #394FB5 |
|---|---|
| RGB | rgb(57, 79, 181) |
| HSL | hsl(229, 52%, 47%) |
| HSV | hsv(229, 69%, 71%) |
| CMYK | cmyk(68.5%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(37.48, 25.93, -56.69) |
| CIE-LCH | lch(37.48, 62.34, 294.58°) |
| OKLab | oklab(47.09% -0.0005 -0.1632) |
| OKLCH | oklch(47.09% 0.163 269.8) |
| XYZ | xyz(12.8210, 9.7968, 44.9224) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.06
Blue Blue
#2242C7
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.25
Warm Blue
#4B57DB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FB5 #B59F39
analogous
#398DB5 #394FB5 #6139B5
triadic
#394FB5 #B5394F #4FB539
tetradic
#394FB5 #B5398D #B59F39 #39B561
square
#394FB5 #B5398D #B59F39 #39B561
split-complementary
#394FB5 #B56139 #8DB539
monochromatic
#1C2658 #2A3B86 #394FB5 #5F72CD #8D9BDB
Accessibility & contrast
On white
7.10
#394FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#394FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394FB5
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FB5 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #394fb5; /* rgb */ color: rgb(57, 79, 181); /* oklch */ color: oklch(47.1% 0.163 269.8);
Tailwind
colors: {
custom: {
50: '#7e80cc',
500: '#394fb5',
950: '#000000',
},
}SCSS
$custom: #394fb5; $custom-light: #7e80cc; $custom-dark: #000000;
JSON
{
"hex": "#394fb5",
"rgb": {
"r": 57,
"g": 79,
"b": 181
},
"hsl": {
"h": 229.355,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.47086,
"c": 0.16318,
"h": 269.8
},
"luminance": 0.09798
}Semantic roles & 50–950 ramp
primary
#394FB5
secondary
#C6BA84
accent
#C24CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82