#383B97#383B97
#383B97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.148 H 276.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #383B97 |
|---|---|
| RGB | rgb(56, 59, 151) |
| HSL | hsl(238, 46%, 41%) |
| HSV | hsv(238, 63%, 59%) |
| CMYK | cmyk(62.9%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.92, 28.09, -50.98) |
| CIE-LCH | lch(29.92, 58.21, 298.86°) |
| OKLab | oklab(40.72% 0.016 -0.1466) |
| OKLCH | oklch(40.72% 0.148 276.2) |
| XYZ | xyz(8.7789, 6.2024, 30.0067) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.69
Sapphire (survey)
#2138AB
ΔE00 3.74
Darkslateblue
#483D8B
ΔE00 3.82
Ocean Blue
#4F42B5
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 7.00
Cobalt
#0047AB
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#383B97 #979438
analogous
#386A97 #383B97 #643897
triadic
#383B97 #97383B #3B9738
tetradic
#383B97 #97386A #979438 #389764
square
#383B97 #97386A #979438 #389764
split-complementary
#383B97 #976438 #6A9738
monochromatic
#17183E #272A6A #383B97 #4F52BE #7B7ECE
Accessibility & contrast
On white
9.37
#383B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#383B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #383B97
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##383B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##383B97 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #383b97; /* rgb */ color: rgb(56, 59, 151); /* oklch */ color: oklch(40.7% 0.148 276.2);
Tailwind
colors: {
custom: {
50: '#7971b6',
500: '#383b97',
950: '#000000',
},
}SCSS
$custom: #383b97; $custom-light: #7971b6; $custom-dark: #000000;
JSON
{
"hex": "#383b97",
"rgb": {
"r": 56,
"g": 59,
"b": 151
},
"hsl": {
"h": 238.105,
"s": 45.894,
"l": 40.588
},
"oklch": {
"l": 0.40716,
"c": 0.14752,
"h": 276.2
},
"luminance": 0.06203
}Semantic roles & 50–950 ramp
primary
#383B97
secondary
#B7B573
accent
#D152D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80