#394796#394796
#394796 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.130 H 272.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #394796 |
|---|---|
| RGB | rgb(57, 71, 150) |
| HSL | hsl(231, 45%, 41%) |
| HSV | hsv(231, 62%, 59%) |
| CMYK | cmyk(62%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(33.09, 20.00, -45.24) |
| CIE-LCH | lch(33.09, 49.46, 293.85°) |
| OKLab | oklab(43.08% 0.0051 -0.1296) |
| OKLCH | oklch(43.08% 0.13 272.3) |
| XYZ | xyz(9.4438, 7.5776, 29.8132) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.78
Cobalt (survey)
#1E488F
ΔE00 4.63
Cobalt
#0047AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.51
Twilight
#4E518B
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394796 #968839
analogous
#397596 #394796 #593996
triadic
#394796 #963947 #479639
tetradic
#394796 #963975 #968839 #399659
square
#394796 #963975 #968839 #399659
split-complementary
#394796 #965939 #759639
monochromatic
#171D3D #28326A #394796 #5060BC #7C88CD
Accessibility & contrast
On white
8.35
#394796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#394796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394796
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394796 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #394796; /* rgb */ color: rgb(57, 71, 150); /* oklch */ color: oklch(43.1% 0.130 272.3);
Tailwind
colors: {
custom: {
50: '#797ab5',
500: '#394796',
950: '#000000',
},
}SCSS
$custom: #394796; $custom-light: #797ab5; $custom-dark: #000000;
JSON
{
"hex": "#394796",
"rgb": {
"r": 57,
"g": 71,
"b": 150
},
"hsl": {
"h": 230.968,
"s": 44.928,
"l": 40.588
},
"oklch": {
"l": 0.43077,
"c": 0.12969,
"h": 272.3
},
"luminance": 0.07578
}Semantic roles & 50–950 ramp
primary
#394796
secondary
#B7AD74
accent
#C153D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80