#38349E#38349E
#38349E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.166 H 277.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #38349E |
|---|---|
| RGB | rgb(56, 52, 158) |
| HSL | hsl(242, 50%, 41%) |
| HSV | hsv(242, 67%, 62%) |
| CMYK | cmyk(64.6%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(28.81, 34.99, -57.05) |
| CIE-LCH | lch(28.81, 66.93, 301.52°) |
| OKLab | oklab(40.09% 0.0217 -0.1645) |
| OKLCH | oklch(40.09% 0.166 277.5) |
| XYZ | xyz(9.0284, 5.7646, 32.9780) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Blueberry
#464196
ΔE00 4.45
Darkslateblue
#483D8B
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.62
Indigo Blue
#3A18B1
ΔE00 6.50
Blue Blue
#2242C7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38349E #9A9E34
analogous
#34659E #38349E #6D349E
triadic
#38349E #9E3834 #349E38
tetradic
#38349E #9E3465 #9A9E34 #349E6D
square
#38349E #9E3465 #9A9E34 #349E6D
split-complementary
#38349E #9E6D34 #659E34
monochromatic
#171642 #282570 #38349E #504BC4 #7D79D3
Accessibility & contrast
On white
9.75
#38349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#38349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38349E
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38349E | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #38349e; /* rgb */ color: rgb(56, 52, 158); /* oklch */ color: oklch(40.1% 0.166 277.5);
Tailwind
colors: {
custom: {
50: '#7b6cbc',
500: '#38349e',
950: '#000000',
},
}SCSS
$custom: #38349e; $custom-light: #7b6cbc; $custom-dark: #000000;
JSON
{
"hex": "#38349e",
"rgb": {
"r": 56,
"g": 52,
"b": 158
},
"hsl": {
"h": 242.264,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.4009,
"c": 0.16593,
"h": 277.5
},
"luminance": 0.05765
}Semantic roles & 50–950 ramp
primary
#38349E
secondary
#B9BC72
accent
#DA4ED5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81