#39318F#39318F
#39318F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.149 H 280.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #39318F |
|---|---|
| RGB | rgb(57, 49, 143) |
| HSL | hsl(245, 49%, 38%) |
| HSV | hsv(245, 66%, 56%) |
| CMYK | cmyk(60.1%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(26.87, 31.94, -51.02) |
| CIE-LCH | lch(26.87, 60.20, 302.04°) |
| OKLab | oklab(38.3% 0.0272 -0.1468) |
| OKLCH | oklch(38.3% 0.149 280.5) |
| XYZ | xyz(7.7420, 5.0491, 26.5479) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.28
Blueberry
#464196
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 5.32
Royal
#0C1793
ΔE00 7.07
Indigo Blue
#3A18B1
ΔE00 7.27
Ocean Blue
#4F42B5
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39318F #878F31
analogous
#31588F #39318F #68318F
triadic
#39318F #8F3931 #318F39
tetradic
#39318F #8F3158 #878F31 #318F68
square
#39318F #8F3158 #878F31 #318F68
split-complementary
#39318F #8F6831 #588F31
monochromatic
#151234 #272161 #39318F #4B41BD #756DCD
Accessibility & contrast
On white
10.45
#39318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#39318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39318F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39318F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #39318f; /* rgb */ color: rgb(57, 49, 143); /* oklch */ color: oklch(38.3% 0.149 280.5);
Tailwind
colors: {
custom: {
50: '#796ab1',
500: '#39318f',
950: '#000000',
},
}SCSS
$custom: #39318f; $custom-light: #796ab1; $custom-dark: #000000;
JSON
{
"hex": "#39318f",
"rgb": {
"r": 57,
"g": 49,
"b": 143
},
"hsl": {
"h": 245.106,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.38297,
"c": 0.1493,
"h": 280.5
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#39318F
secondary
#AEB567
accent
#D94FCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80