#38337F#38337F
#38337F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.124 H 281.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #38337F |
|---|---|
| RGB | rgb(56, 51, 127) |
| HSL | hsl(244, 43%, 35%) |
| HSV | hsv(244, 60%, 50%) |
| CMYK | cmyk(55.9%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(25.98, 25.02, -42.51) |
| CIE-LCH | lch(25.98, 49.32, 300.48°) |
| OKLab | oklab(37.21% 0.0247 -0.1218) |
| OKLCH | oklch(37.21% 0.124 281.5) |
| XYZ | xyz(6.6443, 4.7403, 20.6394) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.77
Blueberry
#464196
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 7.42
Midnight Blue
#191970
ΔE00 7.56
Royal
#0C1793
ΔE00 8.80
Marine
#042E60
ΔE00 9.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38337F #7A7F33
analogous
#33547F #38337F #5E337F
triadic
#38337F #7F3833 #337F38
tetradic
#38337F #7F3354 #7A7F33 #337F5E
square
#38337F #7F3354 #7A7F33 #337F5E
split-complementary
#38337F #7F5E33 #547F33
monochromatic
#111028 #252153 #38337F #4B45AB #6F69C3
Accessibility & contrast
On white
10.78
#38337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#38337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38337F
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38337F | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#184553
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #38337f; /* rgb */ color: rgb(56, 51, 127); /* oklch */ color: oklch(37.2% 0.124 281.5);
Tailwind
colors: {
custom: {
50: '#756ba5',
500: '#38337f',
950: '#000000',
},
}SCSS
$custom: #38337f; $custom-light: #756ba5; $custom-dark: #000000;
JSON
{
"hex": "#38337f",
"rgb": {
"r": 56,
"g": 51,
"b": 127
},
"hsl": {
"h": 243.947,
"s": 42.697,
"l": 34.902
},
"oklch": {
"l": 0.37212,
"c": 0.12426,
"h": 281.5
},
"luminance": 0.04741
}Semantic roles & 50–950 ramp
primary
#38337F
secondary
#A6AB63
accent
#D255CA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F