#393B95#393B95
#393B95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.144 H 276.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #393B95 |
|---|---|
| RGB | rgb(57, 59, 149) |
| HSL | hsl(239, 45%, 40%) |
| HSV | hsv(239, 62%, 58%) |
| CMYK | cmyk(61.7%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.83, 27.57, -49.90) |
| CIE-LCH | lch(29.83, 57.01, 298.92°) |
| OKLab | oklab(40.62% 0.0173 -0.1434) |
| OKLCH | oklch(40.62% 0.144 276.9) |
| XYZ | xyz(8.6744, 6.1671, 29.1612) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.53
Darkslateblue
#483D8B
ΔE00 3.51
Sapphire (survey)
#2138AB
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 7.34
Cobalt
#0047AB
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393B95 #959339
analogous
#396995 #393B95 #653995
triadic
#393B95 #95393B #3B9539
tetradic
#393B95 #953969 #959339 #399565
square
#393B95 #953969 #959339 #399565
split-complementary
#393B95 #956539 #699539
monochromatic
#17183C #282969 #393B95 #4F52BC #7C7DCD
Accessibility & contrast
On white
9.40
#393B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#393B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393B95
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393B95 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #393b95; /* rgb */ color: rgb(57, 59, 149); /* oklch */ color: oklch(40.6% 0.144 276.9);
Tailwind
colors: {
custom: {
50: '#7971b5',
500: '#393b95',
950: '#000000',
},
}SCSS
$custom: #393b95; $custom-light: #7971b5; $custom-dark: #000000;
JSON
{
"hex": "#393b95",
"rgb": {
"r": 57,
"g": 59,
"b": 149
},
"hsl": {
"h": 238.696,
"s": 44.66,
"l": 40.392
},
"oklch": {
"l": 0.4062,
"c": 0.14447,
"h": 276.9
},
"luminance": 0.06168
}Semantic roles & 50–950 ramp
primary
#393B95
secondary
#B6B574
accent
#D253D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80