#394897#394897
#394897 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.130 H 271.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #394897 |
|---|---|
| RGB | rgb(57, 72, 151) |
| HSL | hsl(230, 45%, 41%) |
| HSV | hsv(230, 62%, 59%) |
| CMYK | cmyk(62.3%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(33.43, 19.69, -45.29) |
| CIE-LCH | lch(33.43, 49.39, 293.50°) |
| OKLab | oklab(43.36% 0.0042 -0.1297) |
| OKLCH | oklch(43.36% 0.13 271.8) |
| XYZ | xyz(9.5888, 7.7382, 30.2605) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.04
Cobalt (survey)
#1E488F
ΔE00 4.50
Cobalt
#0047AB
ΔE00 5.09
Twilight
#4E518B
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.81
Sapphire (survey)
#2138AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394897 #978839
analogous
#397797 #394897 #593997
triadic
#394897 #973948 #489739
tetradic
#394897 #973977 #978839 #399759
square
#394897 #973977 #978839 #399759
split-complementary
#394897 #975939 #779739
monochromatic
#171E3E #28336B #394897 #5062BD #7D8ACE
Accessibility & contrast
On white
8.24
#394897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#394897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394897
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394897 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#014B95
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #394897; /* rgb */ color: rgb(57, 72, 151); /* oklch */ color: oklch(43.4% 0.130 271.8);
Tailwind
colors: {
custom: {
50: '#797ab6',
500: '#394897',
950: '#000000',
},
}SCSS
$custom: #394897; $custom-light: #797ab6; $custom-dark: #000000;
JSON
{
"hex": "#394897",
"rgb": {
"r": 57,
"g": 72,
"b": 151
},
"hsl": {
"h": 230.426,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.43359,
"c": 0.12981,
"h": 271.8
},
"luminance": 0.07739
}Semantic roles & 50–950 ramp
primary
#394897
secondary
#B7AD75
accent
#C053D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80