#383F91#383F91
#383F91 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.134 H 275.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #383F91 |
|---|---|
| RGB | rgb(56, 63, 145) |
| HSL | hsl(235, 44%, 39%) |
| HSV | hsv(235, 61%, 57%) |
| CMYK | cmyk(61.4%, 56.6%, 0%, 43.1%) |
| CIE-LAB | lab(30.50, 23.34, -46.38) |
| CIE-LCH | lch(30.50, 51.92, 296.72°) |
| OKLab | oklab(41% 0.012 -0.1331) |
| OKLCH | oklch(41% 0.134 275.2) |
| XYZ | xyz(8.5176, 6.4394, 27.5767) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.57
Darkslateblue
#483D8B
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.66
Cobalt
#0047AB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#383F91 #918A38
analogous
#386C91 #383F91 #5E3891
triadic
#383F91 #91383F #3F9138
tetradic
#383F91 #91386C #918A38 #38915E
square
#383F91 #91386C #918A38 #38915E
split-complementary
#383F91 #915E38 #6C9138
monochromatic
#161939 #272C65 #383F91 #4C55BA #787FCB
Accessibility & contrast
On white
9.18
#383F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#383F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #383F91
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##383F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##383F91 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014C94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #383f91; /* rgb */ color: rgb(56, 63, 145); /* oklch */ color: oklch(41.0% 0.134 275.2);
Tailwind
colors: {
custom: {
50: '#7874b2',
500: '#383f91',
950: '#000000',
},
}SCSS
$custom: #383f91; $custom-light: #7874b2; $custom-dark: #000000;
JSON
{
"hex": "#383f91",
"rgb": {
"r": 56,
"g": 63,
"b": 145
},
"hsl": {
"h": 235.281,
"s": 44.279,
"l": 39.412
},
"oklch": {
"l": 0.40999,
"c": 0.1336,
"h": 275.2
},
"luminance": 0.0644
}Semantic roles & 50–950 ramp
primary
#383F91
secondary
#B4AF71
accent
#CA54D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80