#38359E#38359E
#38359E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.165 H 277.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #38359E |
|---|---|
| RGB | rgb(56, 53, 158) |
| HSL | hsl(242, 50%, 41%) |
| HSV | hsv(242, 66%, 62%) |
| CMYK | cmyk(64.6%, 66.5%, 0%, 38%) |
| CIE-LAB | lab(29.04, 34.36, -56.67) |
| CIE-LCH | lch(29.04, 66.28, 301.23°) |
| OKLab | oklab(40.26% 0.0209 -0.1634) |
| OKLCH | oklch(40.26% 0.165 277.3) |
| XYZ | xyz(9.0735, 5.8548, 32.9931) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 4.23
Darkslateblue
#483D8B
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.49
Indigo Blue
#3A18B1
ΔE00 6.76
Blue Blue
#2242C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38359E #9B9E35
analogous
#35679E #38359E #6D359E
triadic
#38359E #9E3835 #359E38
tetradic
#38359E #9E3567 #9B9E35 #359E6D
square
#38359E #9E3567 #9B9E35 #359E6D
split-complementary
#38359E #9E6D35 #679E35
monochromatic
#181642 #282670 #38359E #504DC3 #7D7BD3
Accessibility & contrast
On white
9.67
#38359E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#38359E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38359E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38359E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38359E | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #38359e; /* rgb */ color: rgb(56, 53, 158); /* oklch */ color: oklch(40.3% 0.165 277.3);
Tailwind
colors: {
custom: {
50: '#7b6dbc',
500: '#38359e',
950: '#000000',
},
}SCSS
$custom: #38359e; $custom-light: #7b6dbc; $custom-dark: #000000;
JSON
{
"hex": "#38359e",
"rgb": {
"r": 56,
"g": 53,
"b": 158
},
"hsl": {
"h": 241.714,
"s": 49.763,
"l": 41.373
},
"oklch": {
"l": 0.40259,
"c": 0.16472,
"h": 277.3
},
"luminance": 0.05856
}Semantic roles & 50–950 ramp
primary
#38359E
secondary
#B9BB73
accent
#D94FD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81