#38409F#38409F
#38409F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.152 H 274.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #38409F |
|---|---|
| RGB | rgb(56, 64, 159) |
| HSL | hsl(235, 48%, 42%) |
| HSV | hsv(235, 65%, 62%) |
| CMYK | cmyk(64.8%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.83, 27.66, -52.73) |
| CIE-LCH | lch(31.83, 59.55, 297.68°) |
| OKLab | oklab(42.33% 0.0112 -0.1517) |
| OKLCH | oklch(42.33% 0.152 274.2) |
| XYZ | xyz(9.7202, 7.0099, 33.6350) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.87
Sapphire (survey)
#2138AB
ΔE00 3.46
Darkslateblue
#483D8B
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.59
Cobalt
#0047AB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38409F #9F9738
analogous
#38749F #38409F #64389F
triadic
#38409F #9F3840 #409F38
tetradic
#38409F #9F3874 #9F9738 #389F64
square
#38409F #9F3874 #9F9738 #389F64
split-complementary
#38409F #9F6438 #749F38
monochromatic
#181C44 #282E72 #38409F #525BC2 #7F86D2
Accessibility & contrast
On white
8.74
#38409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#38409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38409F
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38409F | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #38409f; /* rgb */ color: rgb(56, 64, 159); /* oklch */ color: oklch(42.3% 0.152 274.2);
Tailwind
colors: {
custom: {
50: '#7a74bc',
500: '#38409f',
950: '#000000',
},
}SCSS
$custom: #38409f; $custom-light: #7a74bc; $custom-dark: #000000;
JSON
{
"hex": "#38409f",
"rgb": {
"r": 56,
"g": 64,
"b": 159
},
"hsl": {
"h": 235.34,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.4233,
"c": 0.15217,
"h": 274.2
},
"luminance": 0.07011
}Semantic roles & 50–950 ramp
primary
#38409F
secondary
#BBB677
accent
#CD50D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81