#38349F#38349F
#38349F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.167 H 277.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #38349F |
|---|---|
| RGB | rgb(56, 52, 159) |
| HSL | hsl(242, 51%, 41%) |
| HSV | hsv(242, 67%, 62%) |
| CMYK | cmyk(64.8%, 67.3%, 0%, 37.6%) |
| CIE-LAB | lab(28.90, 35.33, -57.51) |
| CIE-LCH | lch(28.90, 67.50, 301.56°) |
| OKLab | oklab(40.18% 0.0216 -0.1659) |
| OKLCH | oklch(40.18% 0.167 277.4) |
| XYZ | xyz(9.1149, 5.7992, 33.4332) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Blueberry
#464196
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.54
Indigo Blue
#3A18B1
ΔE00 6.42
Blue Blue
#2242C7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38349F #9B9F34
analogous
#34669F #38349F #6E349F
triadic
#38349F #9F3834 #349F38
tetradic
#38349F #9F3466 #9B9F34 #349F6E
square
#38349F #9F3466 #9B9F34 #349F6E
split-complementary
#38349F #9F6E34 #669F34
monochromatic
#181643 #282571 #38349F #504CC4 #7D7AD3
Accessibility & contrast
On white
9.72
#38349F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#38349F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38349F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38349F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38349F | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #38349f; /* rgb */ color: rgb(56, 52, 159); /* oklch */ color: oklch(40.2% 0.167 277.4);
Tailwind
colors: {
custom: {
50: '#7b6cbc',
500: '#38349f',
950: '#000000',
},
}SCSS
$custom: #38349f; $custom-light: #7b6cbc; $custom-dark: #000000;
JSON
{
"hex": "#38349f",
"rgb": {
"r": 56,
"g": 52,
"b": 159
},
"hsl": {
"h": 242.243,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.40182,
"c": 0.16726,
"h": 277.4
},
"luminance": 0.058
}Semantic roles & 50–950 ramp
primary
#38349F
secondary
#B9BC73
accent
#DA4ED5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81