#383897#383897
#383897 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.151 H 277.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #383897 |
|---|---|
| RGB | rgb(56, 56, 151) |
| HSL | hsl(240, 46%, 41%) |
| HSV | hsv(240, 63%, 59%) |
| CMYK | cmyk(62.9%, 62.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.17, 30.04, -52.21) |
| CIE-LCH | lch(29.17, 60.23, 299.92°) |
| OKLab | oklab(40.16% 0.0188 -0.1503) |
| OKLCH | oklch(40.16% 0.151 277.1) |
| XYZ | xyz(8.6292, 5.9028, 29.9568) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.21
Sapphire (survey)
#2138AB
ΔE00 3.70
Darkslateblue
#483D8B
ΔE00 3.95
Ocean Blue
#4F42B5
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 7.29
Cobalt
#0047AB
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#383897 #979738
analogous
#386797 #383897 #673897
triadic
#383897 #973838 #389738
tetradic
#383897 #973867 #979738 #389767
square
#383897 #973867 #979738 #389767
split-complementary
#383897 #976738 #679738
monochromatic
#17173E #27276A #383897 #4F4FBE #7B7BCE
Accessibility & contrast
On white
9.63
#383897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#383897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #383897
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##383897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##383897 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #383897; /* rgb */ color: rgb(56, 56, 151); /* oklch */ color: oklch(40.2% 0.151 277.1);
Tailwind
colors: {
custom: {
50: '#796fb6',
500: '#383897',
950: '#000000',
},
}SCSS
$custom: #383897; $custom-light: #796fb6; $custom-dark: #000000;
JSON
{
"hex": "#383897",
"rgb": {
"r": 56,
"g": 56,
"b": 151
},
"hsl": {
"h": 240,
"s": 45.894,
"l": 40.588
},
"oklch": {
"l": 0.40162,
"c": 0.15144,
"h": 277.1
},
"luminance": 0.05903
}Semantic roles & 50–950 ramp
primary
#383897
secondary
#B7B773
accent
#D652D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80