#392F7E#392F7E
#392F7E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.128 H 283.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #392F7E |
|---|---|
| RGB | rgb(57, 47, 126) |
| HSL | hsl(248, 46%, 34%) |
| HSV | hsv(248, 63%, 49%) |
| CMYK | cmyk(54.8%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(24.98, 27.50, -43.50) |
| CIE-LCH | lch(24.98, 51.46, 302.31°) |
| OKLab | oklab(36.47% 0.0306 -0.1247) |
| OKLCH | oklch(36.47% 0.128 283.8) |
| XYZ | xyz(6.4686, 4.4089, 20.2448) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.45
Blueberry
#464196
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.67
Sapphire (survey)
#2138AB
ΔE00 7.91
Royal
#0C1793
ΔE00 8.01
Rebeccapurple
#663399
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392F7E #747E2F
analogous
#2F4D7E #392F7E #612F7E
triadic
#392F7E #7E392F #2F7E39
tetradic
#392F7E #7E2F4D #747E2F #2F7E61
square
#392F7E #7E2F4D #747E2F #2F7E61
split-complementary
#392F7E #7E612F #4D7E2F
monochromatic
#110E25 #251E51 #392F7E #4D40AB #6F63C5
Accessibility & contrast
On white
11.16
#392F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#392F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392F7E
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392F7E | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#1C4251
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #392f7e; /* rgb */ color: rgb(57, 47, 126); /* oklch */ color: oklch(36.5% 0.128 283.8);
Tailwind
colors: {
custom: {
50: '#7668a4',
500: '#392f7e',
950: '#000000',
},
}SCSS
$custom: #392f7e; $custom-light: #7668a4; $custom-dark: #000000;
JSON
{
"hex": "#392f7e",
"rgb": {
"r": 57,
"g": 47,
"b": 126
},
"hsl": {
"h": 247.595,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.36471,
"c": 0.12837,
"h": 283.8
},
"luminance": 0.04409
}Semantic roles & 50–950 ramp
primary
#392F7E
secondary
#A2AC5D
accent
#D552C5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F