#393299#393299
#393299 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.162 H 279.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #393299 |
|---|---|
| RGB | rgb(57, 50, 153) |
| HSL | hsl(244, 51%, 40%) |
| HSV | hsv(244, 67%, 60%) |
| CMYK | cmyk(62.7%, 67.3%, 0%, 40%) |
| CIE-LAB | lab(27.98, 34.69, -55.36) |
| CIE-LCH | lch(27.98, 65.33, 302.07°) |
| OKLab | oklab(39.37% 0.0252 -0.1595) |
| OKLCH | oklch(39.37% 0.162 279) |
| XYZ | xyz(8.5759, 5.4503, 30.7309) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 6.28
Indigo Blue
#3A18B1
ΔE00 6.39
Royal
#0C1793
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393299 #929932
analogous
#325E99 #393299 #6D3299
triadic
#393299 #993932 #329939
tetradic
#393299 #99325E #929932 #32996D
square
#393299 #99325E #929932 #32996D
split-complementary
#393299 #996D32 #5E9932
monochromatic
#17143D #28236B #393299 #4E46C2 #7A74D2
Accessibility & contrast
On white
10.05
#393299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#393299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393299
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393299 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #393299; /* rgb */ color: rgb(57, 50, 153); /* oklch */ color: oklch(39.4% 0.162 279.0);
Tailwind
colors: {
custom: {
50: '#7b6bb8',
500: '#393299',
950: '#000000',
},
}SCSS
$custom: #393299; $custom-light: #7b6bb8; $custom-dark: #000000;
JSON
{
"hex": "#393299",
"rgb": {
"r": 57,
"g": 50,
"b": 153
},
"hsl": {
"h": 244.078,
"s": 50.739,
"l": 39.804
},
"oklch": {
"l": 0.39371,
"c": 0.1615,
"h": 279
},
"luminance": 0.05451
}Semantic roles & 50–950 ramp
primary
#393299
secondary
#B4BA6D
accent
#DA4ED1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80