#38337E#38337E
#38337E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.123 H 281.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #38337E |
|---|---|
| RGB | rgb(56, 51, 126) |
| HSL | hsl(244, 42%, 35%) |
| HSV | hsv(244, 60%, 49%) |
| CMYK | cmyk(55.6%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(25.91, 24.67, -42.00) |
| CIE-LCH | lch(25.91, 48.71, 300.43°) |
| OKLab | oklab(37.13% 0.0247 -0.1203) |
| OKLCH | oklch(37.13% 0.123 281.6) |
| XYZ | xyz(6.5794, 4.7144, 20.2979) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.82
Blueberry
#464196
ΔE00 5.25
Midnight Blue
#191970
ΔE00 7.57
Sapphire (survey)
#2138AB
ΔE00 7.59
Royal
#0C1793
ΔE00 8.92
Marine
#042E60
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38337E #797E33
analogous
#33547E #38337E #5E337E
triadic
#38337E #7E3833 #337E38
tetradic
#38337E #7E3354 #797E33 #337E5E
square
#38337E #7E3354 #797E33 #337E5E
split-complementary
#38337E #7E5E33 #547E33
monochromatic
#111027 #252152 #38337E #4B45AA #6F69C2
Accessibility & contrast
On white
10.81
#38337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#38337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38337E
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38337E | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#194453
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #38337e; /* rgb */ color: rgb(56, 51, 126); /* oklch */ color: oklch(37.1% 0.123 281.6);
Tailwind
colors: {
custom: {
50: '#756ba4',
500: '#38337e',
950: '#000000',
},
}SCSS
$custom: #38337e; $custom-light: #756ba4; $custom-dark: #000000;
JSON
{
"hex": "#38337e",
"rgb": {
"r": 56,
"g": 51,
"b": 126
},
"hsl": {
"h": 244,
"s": 42.373,
"l": 34.706
},
"oklch": {
"l": 0.37131,
"c": 0.1228,
"h": 281.6
},
"luminance": 0.04715
}Semantic roles & 50–950 ramp
primary
#38337E
secondary
#A5AA63
accent
#D256CA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F