#39398F#39398F
#39398F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.139 H 278.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #39398F |
|---|---|
| RGB | rgb(57, 57, 143) |
| HSL | hsl(240, 43%, 39%) |
| HSV | hsv(240, 60%, 56%) |
| CMYK | cmyk(60.1%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.85, 26.79, -47.81) |
| CIE-LCH | lch(28.85, 54.81, 299.26°) |
| OKLab | oklab(39.74% 0.0194 -0.1373) |
| OKLCH | oklch(39.74% 0.139 278) |
| XYZ | xyz(8.1068, 5.7787, 26.6695) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.90
Darkslateblue
#483D8B
ΔE00 3.09
Sapphire (survey)
#2138AB
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 6.78
Cobalt (survey)
#1E488F
ΔE00 8.02
Cobalt
#0047AB
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39398F #8F8F39
analogous
#39648F #39398F #64398F
triadic
#39398F #8F3939 #398F39
tetradic
#39398F #8F3964 #8F8F39 #398F64
square
#39398F #8F3964 #8F8F39 #398F64
split-complementary
#39398F #8F6439 #648F39
monochromatic
#161637 #282863 #39398F #4D4DB8 #7979CA
Accessibility & contrast
On white
9.74
#39398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#39398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39398F
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39398F | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #39398f; /* rgb */ color: rgb(57, 57, 143); /* oklch */ color: oklch(39.7% 0.139 278.0);
Tailwind
colors: {
custom: {
50: '#786fb0',
500: '#39398f',
950: '#000000',
},
}SCSS
$custom: #39398f; $custom-light: #786fb0; $custom-dark: #000000;
JSON
{
"hex": "#39398f",
"rgb": {
"r": 57,
"g": 57,
"b": 143
},
"hsl": {
"h": 240,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.39744,
"c": 0.13867,
"h": 278
},
"luminance": 0.05779
}Semantic roles & 50–950 ramp
primary
#39398F
secondary
#B3B371
accent
#D355D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80