#394299#394299
#394299 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.141 H 274.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #394299 |
|---|---|
| RGB | rgb(57, 66, 153) |
| HSL | hsl(234, 46%, 41%) |
| HSV | hsv(234, 63%, 60%) |
| CMYK | cmyk(62.7%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(31.96, 24.38, -48.89) |
| CIE-LCH | lch(31.96, 54.63, 296.51°) |
| OKLab | oklab(42.3% 0.0104 -0.1404) |
| OKLCH | oklch(42.3% 0.141 274.2) |
| XYZ | xyz(9.3834, 7.0654, 31.0001) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.60
Darkslateblue
#483D8B
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 5.71
Cobalt
#0047AB
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394299 #999039
analogous
#397299 #394299 #603999
triadic
#394299 #993942 #429939
tetradic
#394299 #993972 #999039 #399960
square
#394299 #993972 #999039 #399960
split-complementary
#394299 #996039 #729939
monochromatic
#181C40 #282F6C #394299 #515BBE #7E85CF
Accessibility & contrast
On white
8.70
#394299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#394299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394299
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394299 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #394299; /* rgb */ color: rgb(57, 66, 153); /* oklch */ color: oklch(42.3% 0.141 274.2);
Tailwind
colors: {
custom: {
50: '#7a76b8',
500: '#394299',
950: '#000000',
},
}SCSS
$custom: #394299; $custom-light: #7a76b8; $custom-dark: #000000;
JSON
{
"hex": "#394299",
"rgb": {
"r": 57,
"g": 66,
"b": 153
},
"hsl": {
"h": 234.375,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.42296,
"c": 0.14079,
"h": 274.2
},
"luminance": 0.07066
}Semantic roles & 50–950 ramp
primary
#394299
secondary
#B8B276
accent
#C952D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80