#394FAE#394FAE
#394FAE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.153 H 269.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #394FAE |
|---|---|
| RGB | rgb(57, 79, 174) |
| HSL | hsl(229, 51%, 45%) |
| HSV | hsv(229, 67%, 68%) |
| CMYK | cmyk(67.2%, 54.6%, 0%, 31.8%) |
| CIE-LAB | lab(36.96, 23.39, -53.39) |
| CIE-LCH | lch(36.96, 58.29, 293.66°) |
| OKLab | oklab(46.54% -0.0008 -0.1535) |
| OKLCH | oklch(46.54% 0.153 269.7) |
| XYZ | xyz(12.1207, 9.5167, 41.2343) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.49
Blue Blue
#2242C7
ΔE00 5.30
Cobalt (survey)
#1E488F
ΔE00 5.99
Denim Blue
#3B5B92
ΔE00 6.14
Ocean Blue
#4F42B5
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FAE #AE9839
analogous
#3989AE #394FAE #5E39AE
triadic
#394FAE #AE394F #4FAE39
tetradic
#394FAE #AE3989 #AE9839 #39AE5E
square
#394FAE #AE3989 #AE9839 #39AE5E
split-complementary
#394FAE #AE5E39 #89AE39
monochromatic
#1B2552 #2A3A80 #394FAE #5B70C9 #8998D8
Accessibility & contrast
On white
7.23
#394FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#394FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394FAE
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FAE | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#065CB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #394fae; /* rgb */ color: rgb(57, 79, 174); /* oklch */ color: oklch(46.5% 0.153 269.7);
Tailwind
colors: {
custom: {
50: '#7d80c7',
500: '#394fae',
950: '#000000',
},
}SCSS
$custom: #394fae; $custom-light: #7d80c7; $custom-dark: #000000;
JSON
{
"hex": "#394fae",
"rgb": {
"r": 57,
"g": 79,
"b": 174
},
"hsl": {
"h": 228.718,
"s": 50.649,
"l": 45.294
},
"oklch": {
"l": 0.46537,
"c": 0.15347,
"h": 269.7
},
"luminance": 0.09518
}Semantic roles & 50–950 ramp
primary
#394FAE
secondary
#C3B680
accent
#C04EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82