#38359F#38359F
#38359F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.166 H 277.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #38359F |
|---|---|
| RGB | rgb(56, 53, 159) |
| HSL | hsl(242, 50%, 42%) |
| HSV | hsv(242, 67%, 62%) |
| CMYK | cmyk(64.8%, 66.7%, 0%, 37.6%) |
| CIE-LAB | lab(29.13, 34.71, -57.14) |
| CIE-LCH | lch(29.13, 66.85, 301.28°) |
| OKLab | oklab(40.35% 0.0208 -0.1647) |
| OKLCH | oklch(40.35% 0.166 277.2) |
| XYZ | xyz(9.1600, 5.8894, 33.4482) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Blueberry
#464196
ΔE00 4.29
Darkslateblue
#483D8B
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.40
Indigo Blue
#3A18B1
ΔE00 6.69
Blue Blue
#2242C7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38359F #9C9F35
analogous
#35679F #38359F #6D359F
triadic
#38359F #9F3835 #359F38
tetradic
#38359F #9F3567 #9C9F35 #359F6D
square
#38359F #9F3567 #9C9F35 #359F6D
split-complementary
#38359F #9F6D35 #679F35
monochromatic
#181643 #282671 #38359F #514DC4 #7E7BD3
Accessibility & contrast
On white
9.64
#38359F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#38359F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38359F
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38359F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38359F | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #38359f; /* rgb */ color: rgb(56, 53, 159); /* oklch */ color: oklch(40.4% 0.166 277.2);
Tailwind
colors: {
custom: {
50: '#7b6dbc',
500: '#38359f',
950: '#000000',
},
}SCSS
$custom: #38359f; $custom-light: #7b6dbc; $custom-dark: #000000;
JSON
{
"hex": "#38359f",
"rgb": {
"r": 56,
"g": 53,
"b": 159
},
"hsl": {
"h": 241.698,
"s": 50,
"l": 41.569
},
"oklch": {
"l": 0.4035,
"c": 0.16604,
"h": 277.2
},
"luminance": 0.0589
}Semantic roles & 50–950 ramp
primary
#38359F
secondary
#BABC74
accent
#DA4ED6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81