#39398C#39398C
#39398C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.134 H 278.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #39398C |
|---|---|
| RGB | rgb(57, 57, 140) |
| HSL | hsl(240, 42%, 39%) |
| HSV | hsv(240, 59%, 55%) |
| CMYK | cmyk(59.3%, 59.3%, 0%, 45.1%) |
| CIE-LAB | lab(28.61, 25.74, -46.34) |
| CIE-LCH | lch(28.61, 53.01, 299.05°) |
| OKLab | oklab(39.5% 0.0194 -0.133) |
| OKLCH | oklch(39.5% 0.134 278.3) |
| XYZ | xyz(7.8826, 5.6890, 25.4886) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.94
Blueberry
#464196
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 7.19
Cobalt (survey)
#1E488F
ΔE00 8.00
Twilight
#4E518B
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39398C #8C8C39
analogous
#39628C #39398C #62398C
triadic
#39398C #8C3939 #398C39
tetradic
#39398C #8C3962 #8C8C39 #398C62
square
#39398C #8C3962 #8C8C39 #398C62
split-complementary
#39398C #8C6239 #628C39
monochromatic
#161635 #272761 #39398C #4C4CB6 #7878C8
Accessibility & contrast
On white
9.82
#39398C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#39398C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39398C
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39398C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39398C | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#044D5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #39398c; /* rgb */ color: rgb(57, 57, 140); /* oklch */ color: oklch(39.5% 0.134 278.3);
Tailwind
colors: {
custom: {
50: '#786fae',
500: '#39398c',
950: '#000000',
},
}SCSS
$custom: #39398c; $custom-light: #786fae; $custom-dark: #000000;
JSON
{
"hex": "#39398c",
"rgb": {
"r": 57,
"g": 57,
"b": 140
},
"hsl": {
"h": 240,
"s": 42.132,
"l": 38.627
},
"oklch": {
"l": 0.39498,
"c": 0.13439,
"h": 278.3
},
"luminance": 0.0569
}Semantic roles & 50–950 ramp
primary
#39398C
secondary
#B1B170
accent
#D256D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F