#38366E#38366E
#38366E is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.094 H 282.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #38366E |
|---|---|
| RGB | rgb(56, 54, 110) |
| HSL | hsl(242, 34%, 32%) |
| HSV | hsv(242, 51%, 43%) |
| CMYK | cmyk(49.1%, 50.9%, 0%, 56.9%) |
| CIE-LAB | lab(25.58, 17.23, -32.37) |
| CIE-LCH | lch(25.58, 36.67, 298.02°) |
| OKLab | oklab(36.52% 0.02 -0.092) |
| OKLCH | oklch(36.52% 0.094 282.3) |
| XYZ | xyz(5.7637, 4.6046, 15.3339) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.71
Blueberry
#464196
ΔE00 7.37
Marine
#042E60
ΔE00 8.34
Navy Blue
#1B2A4A
ΔE00 8.46
Twilight
#4E518B
ΔE00 8.91
Midnight Blue
#191970
ΔE00 9.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38366E #6C6E36
analogous
#36506E #38366E #54366E
triadic
#38366E #6E3836 #366E38
tetradic
#38366E #6E3650 #6C6E36 #366E54
square
#38366E #6E3650 #6C6E36 #366E54
split-complementary
#38366E #6E5436 #506E36
monochromatic
#0E0E1C #232245 #38366E #4D4A97 #6C69B5
Accessibility & contrast
On white
10.93
#38366E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#38366E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38366E
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38366E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38366E | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#1B3B6D
Tritanopia (blue-blind)
#26424C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #38366e; /* rgb */ color: rgb(56, 54, 110); /* oklch */ color: oklch(36.5% 0.094 282.3);
Tailwind
colors: {
custom: {
50: '#726d98',
500: '#38366e',
950: '#000000',
},
}SCSS
$custom: #38366e; $custom-light: #726d98; $custom-dark: #000000;
JSON
{
"hex": "#38366e",
"rgb": {
"r": 56,
"g": 54,
"b": 110
},
"hsl": {
"h": 242.143,
"s": 34.146,
"l": 32.157
},
"oklch": {
"l": 0.36523,
"c": 0.09412,
"h": 282.3
},
"luminance": 0.04605
}Semantic roles & 50–950 ramp
primary
#38366E
secondary
#9C9E62
accent
#CA5EC6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E