#38347E#38347E
#38347E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.121 H 281.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #38347E |
|---|---|
| RGB | rgb(56, 52, 126) |
| HSL | hsl(243, 42%, 35%) |
| HSV | hsv(243, 59%, 49%) |
| CMYK | cmyk(55.6%, 58.7%, 0%, 50.6%) |
| CIE-LAB | lab(26.17, 24.01, -41.58) |
| CIE-LCH | lch(26.17, 48.02, 300.00°) |
| OKLab | oklab(37.32% 0.0235 -0.119) |
| OKLCH | oklch(37.32% 0.121 281.2) |
| XYZ | xyz(6.6236, 4.8027, 20.3126) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.70
Blueberry
#464196
ΔE00 5.09
Sapphire (survey)
#2138AB
ΔE00 7.57
Midnight Blue
#191970
ΔE00 7.84
Marine
#042E60
ΔE00 9.05
Royal
#0C1793
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38347E #7A7E34
analogous
#34557E #38347E #5D347E
triadic
#38347E #7E3834 #347E38
tetradic
#38347E #7E3455 #7A7E34 #347E5D
square
#38347E #7E3455 #7A7E34 #347E5D
split-complementary
#38347E #7E5D34 #557E34
monochromatic
#111027 #252253 #38347E #4B46A9 #6F6BC2
Accessibility & contrast
On white
10.71
#38347E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#38347E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38347E
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38347E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38347E | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#194553
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #38347e; /* rgb */ color: rgb(56, 52, 126); /* oklch */ color: oklch(37.3% 0.121 281.2);
Tailwind
colors: {
custom: {
50: '#756ba4',
500: '#38347e',
950: '#000000',
},
}SCSS
$custom: #38347e; $custom-light: #756ba4; $custom-dark: #000000;
JSON
{
"hex": "#38347e",
"rgb": {
"r": 56,
"g": 52,
"b": 126
},
"hsl": {
"h": 243.243,
"s": 41.573,
"l": 34.902
},
"oklch": {
"l": 0.37324,
"c": 0.12135,
"h": 281.2
},
"luminance": 0.04803
}Semantic roles & 50–950 ramp
primary
#38347E
secondary
#A6AA64
accent
#D156CB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F