#38288A#38288A
#38288A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.154 H 283.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #38288A |
|---|---|
| RGB | rgb(56, 40, 138) |
| HSL | hsl(250, 55%, 35%) |
| HSV | hsv(250, 71%, 54%) |
| CMYK | cmyk(59.4%, 71%, 0%, 45.9%) |
| CIE-LAB | lab(24.30, 35.64, -52.13) |
| CIE-LCH | lch(24.30, 63.15, 304.36°) |
| OKLab | oklab(36.28% 0.0347 -0.1501) |
| OKLCH | oklch(36.28% 0.154 283) |
| XYZ | xyz(6.9757, 4.1929, 24.4815) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.43
Midnight Blue
#191970
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.36
Indigo (survey)
#380282
ΔE00 6.71
Blueberry
#464196
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38288A #7A8A28
analogous
#28498A #38288A #69288A
triadic
#38288A #8A3828 #288A38
tetradic
#38288A #8A2849 #7A8A28 #288A69
square
#38288A #8A2849 #7A8A28 #288A69
split-complementary
#38288A #8A6928 #498A28
monochromatic
#110C2B #251A5B #38288A #4B36B9 #6F5DD0
Accessibility & contrast
On white
11.42
#38288A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#38288A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38288A
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38288A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38288A | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#094256
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #38288a; /* rgb */ color: rgb(56, 40, 138); /* oklch */ color: oklch(36.3% 0.154 283.0);
Tailwind
colors: {
custom: {
50: '#7863ad',
500: '#38288a',
950: '#000000',
},
}SCSS
$custom: #38288a; $custom-light: #7863ad; $custom-dark: #000000;
JSON
{
"hex": "#38288a",
"rgb": {
"r": 56,
"g": 40,
"b": 138
},
"hsl": {
"h": 249.796,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.36277,
"c": 0.15405,
"h": 283
},
"luminance": 0.04193
}Semantic roles & 50–950 ramp
primary
#38288A
secondary
#A6B559
accent
#DE49C6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F