#39398E#39398E
#39398E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.137 H 278.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #39398E |
|---|---|
| RGB | rgb(57, 57, 142) |
| HSL | hsl(240, 43%, 39%) |
| HSV | hsv(240, 60%, 56%) |
| CMYK | cmyk(59.9%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.77, 26.44, -47.32) |
| CIE-LCH | lch(28.77, 54.21, 299.19°) |
| OKLab | oklab(39.66% 0.0194 -0.1359) |
| OKLCH | oklch(39.66% 0.137 278.1) |
| XYZ | xyz(8.0314, 5.7485, 26.2723) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.94
Darkslateblue
#483D8B
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 6.91
Cobalt (survey)
#1E488F
ΔE00 8.01
Cobalt
#0047AB
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39398E #8E8E39
analogous
#39648E #39398E #64398E
triadic
#39398E #8E3939 #398E39
tetradic
#39398E #8E3964 #8E8E39 #398E64
square
#39398E #8E3964 #8E8E39 #398E64
split-complementary
#39398E #8E6439 #648E39
monochromatic
#161637 #272762 #39398E #4D4DB7 #7878C9
Accessibility & contrast
On white
9.77
#39398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#39398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39398E
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39398E | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #39398e; /* rgb */ color: rgb(57, 57, 142); /* oklch */ color: oklch(39.7% 0.137 278.1);
Tailwind
colors: {
custom: {
50: '#786fb0',
500: '#39398e',
950: '#000000',
},
}SCSS
$custom: #39398e; $custom-light: #786fb0; $custom-dark: #000000;
JSON
{
"hex": "#39398e",
"rgb": {
"r": 57,
"g": 57,
"b": 142
},
"hsl": {
"h": 240,
"s": 42.714,
"l": 39.02
},
"oklch": {
"l": 0.39662,
"c": 0.13725,
"h": 278.1
},
"luminance": 0.05749
}Semantic roles & 50–950 ramp
primary
#39398E
secondary
#B2B271
accent
#D255D2
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F