#38409E#38409E
#38409E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.151 H 274.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #38409E |
|---|---|
| RGB | rgb(56, 64, 158) |
| HSL | hsl(235, 48%, 42%) |
| HSV | hsv(235, 65%, 62%) |
| CMYK | cmyk(64.6%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(31.75, 27.30, -52.26) |
| CIE-LCH | lch(31.75, 58.96, 297.59°) |
| OKLab | oklab(42.25% 0.0113 -0.1504) |
| OKLCH | oklch(42.25% 0.151 274.3) |
| XYZ | xyz(9.6338, 6.9754, 33.1798) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.80
Sapphire (survey)
#2138AB
ΔE00 3.55
Darkslateblue
#483D8B
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 5.03
Blue Blue
#2242C7
ΔE00 5.73
Cobalt
#0047AB
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38409E #9E9638
analogous
#38739E #38409E #63389E
triadic
#38409E #9E3840 #409E38
tetradic
#38409E #9E3873 #9E9638 #389E63
square
#38409E #9E3873 #9E9638 #389E63
split-complementary
#38409E #9E6338 #739E38
monochromatic
#181B44 #282E71 #38409E #525AC2 #7F85D2
Accessibility & contrast
On white
8.77
#38409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#38409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38409E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38409E | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #38409e; /* rgb */ color: rgb(56, 64, 158); /* oklch */ color: oklch(42.2% 0.151 274.3);
Tailwind
colors: {
custom: {
50: '#7a74bb',
500: '#38409e',
950: '#000000',
},
}SCSS
$custom: #38409e; $custom-light: #7a74bb; $custom-dark: #000000;
JSON
{
"hex": "#38409e",
"rgb": {
"r": 56,
"g": 64,
"b": 158
},
"hsl": {
"h": 235.294,
"s": 47.664,
"l": 41.961
},
"oklch": {
"l": 0.42247,
"c": 0.15077,
"h": 274.3
},
"luminance": 0.06976
}Semantic roles & 50–950 ramp
primary
#38409E
secondary
#BBB677
accent
#CD51D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81