#394FAF#394FAF
#394FAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.155 H 269.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #394FAF |
|---|---|
| RGB | rgb(57, 79, 175) |
| HSL | hsl(229, 51%, 45%) |
| HSV | hsv(229, 67%, 69%) |
| CMYK | cmyk(67.4%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(37.03, 23.76, -53.86) |
| CIE-LCH | lch(37.03, 58.87, 293.80°) |
| OKLab | oklab(46.62% -0.0008 -0.1549) |
| OKLCH | oklch(46.62% 0.155 269.7) |
| XYZ | xyz(12.2186, 9.5558, 41.7497) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 5.20
Cobalt (survey)
#1E488F
ΔE00 6.10
Denim Blue
#3B5B92
ΔE00 6.23
Ocean Blue
#4F42B5
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394FAF #AF9939
analogous
#398AAF #394FAF #5E39AF
triadic
#394FAF #AF394F #4FAF39
tetradic
#394FAF #AF398A #AF9939 #39AF5E
square
#394FAF #AF398A #AF9939 #39AF5E
split-complementary
#394FAF #AF5E39 #8AAF39
monochromatic
#1B2553 #2A3A81 #394FAF #5B70CA #8A98D9
Accessibility & contrast
On white
7.21
#394FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#394FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394FAF
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394FAF | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #394faf; /* rgb */ color: rgb(57, 79, 175); /* oklch */ color: oklch(46.6% 0.155 269.7);
Tailwind
colors: {
custom: {
50: '#7d80c8',
500: '#394faf',
950: '#000000',
},
}SCSS
$custom: #394faf; $custom-light: #7d80c8; $custom-dark: #000000;
JSON
{
"hex": "#394faf",
"rgb": {
"r": 57,
"g": 79,
"b": 175
},
"hsl": {
"h": 228.814,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.46615,
"c": 0.15486,
"h": 269.7
},
"luminance": 0.09557
}Semantic roles & 50–950 ramp
primary
#394FAF
secondary
#C3B781
accent
#C04DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82