#394F9C#394F9C
#394F9C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.128 H 268.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #394F9C |
|---|---|
| RGB | rgb(57, 79, 156) |
| HSL | hsl(227, 46%, 42%) |
| HSV | hsv(227, 63%, 61%) |
| CMYK | cmyk(63.5%, 49.4%, 0%, 38.8%) |
| CIE-LAB | lab(35.72, 16.86, -44.64) |
| CIE-LCH | lch(35.72, 47.72, 290.70°) |
| OKLab | oklab(45.2% -0.0026 -0.1277) |
| OKLCH | oklch(45.2% 0.128 268.9) |
| XYZ | xyz(10.4820, 8.8612, 32.6040) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.75
Denim Blue
#3B5B92
ΔE00 4.77
Dusk Blue
#26538D
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.16
Twilight
#4E518B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394F9C #9C8639
analogous
#39819C #394F9C #55399C
triadic
#394F9C #9C394F #4F9C39
tetradic
#394F9C #9C3981 #9C8639 #399C55
square
#394F9C #9C3981 #9C8639 #399C55
split-complementary
#394F9C #9C5539 #819C39
monochromatic
#182242 #29386F #394F9C #526BC0 #7F91D0
Accessibility & contrast
On white
7.57
#394F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#394F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394F9C
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394F9C | 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)
#27599F
Deuteranopia (green-blind)
#13509A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #394f9c; /* rgb */ color: rgb(57, 79, 156); /* oklch */ color: oklch(45.2% 0.128 268.9);
Tailwind
colors: {
custom: {
50: '#7980ba',
500: '#394f9c',
950: '#000000',
},
}SCSS
$custom: #394f9c; $custom-light: #7980ba; $custom-dark: #000000;
JSON
{
"hex": "#394f9c",
"rgb": {
"r": 57,
"g": 79,
"b": 156
},
"hsl": {
"h": 226.667,
"s": 46.479,
"l": 41.765
},
"oklch": {
"l": 0.45198,
"c": 0.12776,
"h": 268.9
},
"luminance": 0.08862
}Semantic roles & 50–950 ramp
primary
#394F9C
secondary
#BAAB77
accent
#B952D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80