#383F97#383F97
#383F97 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.142 H 274.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #383F97 |
|---|---|
| RGB | rgb(56, 63, 151) |
| HSL | hsl(236, 46%, 41%) |
| HSV | hsv(236, 63%, 59%) |
| CMYK | cmyk(62.9%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.95, 25.47, -49.31) |
| CIE-LCH | lch(30.95, 55.50, 297.32°) |
| OKLab | oklab(41.48% 0.0122 -0.1417) |
| OKLCH | oklch(41.48% 0.142 274.9) |
| XYZ | xyz(8.9925, 6.6294, 30.0779) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.46
Darkslateblue
#483D8B
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 5.84
Cobalt
#0047AB
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#383F97 #979038
analogous
#386E97 #383F97 #603897
triadic
#383F97 #97383F #3F9738
tetradic
#383F97 #97386E #979038 #389760
square
#383F97 #97386E #979038 #389760
split-complementary
#383F97 #976038 #6E9738
monochromatic
#171A3E #272C6A #383F97 #4F57BE #7B81CE
Accessibility & contrast
On white
9.03
#383F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#383F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #383F97
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##383F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##383F97 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #383f97; /* rgb */ color: rgb(56, 63, 151); /* oklch */ color: oklch(41.5% 0.142 274.9);
Tailwind
colors: {
custom: {
50: '#7974b6',
500: '#383f97',
950: '#000000',
},
}SCSS
$custom: #383f97; $custom-light: #7974b6; $custom-dark: #000000;
JSON
{
"hex": "#383f97",
"rgb": {
"r": 56,
"g": 63,
"b": 151
},
"hsl": {
"h": 235.579,
"s": 45.894,
"l": 40.588
},
"oklch": {
"l": 0.4148,
"c": 0.14221,
"h": 274.9
},
"luminance": 0.0663
}Semantic roles & 50–950 ramp
primary
#383F97
secondary
#B7B273
accent
#CC52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80