#394AAF#394AAF
#394AAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.161 H 271.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #394AAF |
|---|---|
| RGB | rgb(57, 74, 175) |
| HSL | hsl(231, 51%, 45%) |
| HSV | hsv(231, 67%, 69%) |
| CMYK | cmyk(67.4%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(35.72, 27.02, -56.00) |
| CIE-LCH | lch(35.72, 62.18, 295.76°) |
| OKLab | oklab(45.63% 0.0036 -0.1612) |
| OKLCH | oklch(45.63% 0.161 271.3) |
| XYZ | xyz(11.8714, 8.8615, 41.6339) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.11
Cobalt
#0047AB
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 5.19
Blueberry
#464196
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394AAF #AF9E39
analogous
#3985AF #394AAF #6339AF
triadic
#394AAF #AF394A #4AAF39
tetradic
#394AAF #AF3985 #AF9E39 #39AF63
square
#394AAF #AF3985 #AF9E39 #39AF63
split-complementary
#394AAF #AF6339 #85AF39
monochromatic
#1B2353 #2A3681 #394AAF #5B6BCA #8A95D9
Accessibility & contrast
On white
7.57
#394AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#394AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394AAF
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394AAF | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #394aaf; /* rgb */ color: rgb(57, 74, 175); /* oklch */ color: oklch(45.6% 0.161 271.3);
Tailwind
colors: {
custom: {
50: '#7d7cc8',
500: '#394aaf',
950: '#000000',
},
}SCSS
$custom: #394aaf; $custom-light: #7d7cc8; $custom-dark: #000000;
JSON
{
"hex": "#394aaf",
"rgb": {
"r": 57,
"g": 74,
"b": 175
},
"hsl": {
"h": 231.356,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.45628,
"c": 0.16125,
"h": 271.3
},
"luminance": 0.08863
}Semantic roles & 50–950 ramp
primary
#394AAF
secondary
#C3B981
accent
#C64DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82