#38359B#38359B
#38359B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.161 H 277.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #38359B |
|---|---|
| RGB | rgb(56, 53, 155) |
| HSL | hsl(242, 49%, 41%) |
| HSV | hsv(242, 66%, 61%) |
| CMYK | cmyk(63.9%, 65.8%, 0%, 39.2%) |
| CIE-LAB | lab(28.78, 33.34, -55.28) |
| CIE-LCH | lch(28.78, 64.55, 301.09°) |
| OKLab | oklab(39.99% 0.0212 -0.1593) |
| OKLCH | oklch(39.99% 0.161 277.6) |
| XYZ | xyz(8.8185, 5.7528, 31.6497) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 4.05
Darkslateblue
#483D8B
ΔE00 4.68
Ocean Blue
#4F42B5
ΔE00 5.76
Indigo Blue
#3A18B1
ΔE00 7.01
Blue Blue
#2242C7
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38359B #989B35
analogous
#35659B #38359B #6B359B
triadic
#38359B #9B3835 #359B38
tetradic
#38359B #9B3565 #989B35 #359B6B
square
#38359B #9B3565 #989B35 #359B6B
split-complementary
#38359B #9B6B35 #659B35
monochromatic
#171640 #28256D #38359B #4F4CC2 #7C79D1
Accessibility & contrast
On white
9.76
#38359B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#38359B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38359B
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38359B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38359B | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #38359b; /* rgb */ color: rgb(56, 53, 155); /* oklch */ color: oklch(40.0% 0.161 277.6);
Tailwind
colors: {
custom: {
50: '#7a6db9',
500: '#38359b',
950: '#000000',
},
}SCSS
$custom: #38359b; $custom-light: #7a6db9; $custom-dark: #000000;
JSON
{
"hex": "#38359b",
"rgb": {
"r": 56,
"g": 53,
"b": 155
},
"hsl": {
"h": 241.765,
"s": 49.038,
"l": 40.784
},
"oklch": {
"l": 0.39986,
"c": 0.1607,
"h": 277.6
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#38359B
secondary
#B8BA72
accent
#D94FD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81