#394991#394991
#394991 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.120 H 271.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #394991 |
|---|---|
| RGB | rgb(57, 73, 145) |
| HSL | hsl(229, 44%, 40%) |
| HSV | hsv(229, 61%, 57%) |
| CMYK | cmyk(60.7%, 49.7%, 0%, 43.1%) |
| CIE-LAB | lab(33.30, 16.88, -41.84) |
| CIE-LCH | lch(33.30, 45.12, 291.97°) |
| OKLab | oklab(43.13% 0.0025 -0.1196) |
| OKLCH | oklch(43.13% 0.12 271.2) |
| XYZ | xyz(9.1790, 7.6786, 27.7810) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.14
Blueberry
#464196
ΔE00 4.64
Twilight
#4E518B
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 6.09
Dusk Blue
#26538D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394991 #918139
analogous
#397591 #394991 #553991
triadic
#394991 #913949 #499139
tetradic
#394991 #913975 #918139 #399155
square
#394991 #913975 #918139 #399155
split-complementary
#394991 #915539 #759139
monochromatic
#161D39 #283365 #394991 #4E61B9 #7A88CB
Accessibility & contrast
On white
8.28
#394991 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#394991 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394991
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394991 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394991 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255294
Deuteranopia (green-blind)
#164B8F
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #394991; /* rgb */ color: rgb(57, 73, 145); /* oklch */ color: oklch(43.1% 0.120 271.2);
Tailwind
colors: {
custom: {
50: '#787bb2',
500: '#394991',
950: '#000000',
},
}SCSS
$custom: #394991; $custom-light: #787bb2; $custom-dark: #000000;
JSON
{
"hex": "#394991",
"rgb": {
"r": 57,
"g": 73,
"b": 145
},
"hsl": {
"h": 229.091,
"s": 43.564,
"l": 39.608
},
"oklch": {
"l": 0.43132,
"c": 0.11961,
"h": 271.2
},
"luminance": 0.07679
}Semantic roles & 50–950 ramp
primary
#394991
secondary
#B4A872
accent
#BC54D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80