#38408E#38408E
#38408E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.128 H 274.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #38408E |
|---|---|
| RGB | rgb(56, 64, 142) |
| HSL | hsl(234, 43%, 39%) |
| HSV | hsv(234, 61%, 56%) |
| CMYK | cmyk(60.6%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(30.54, 21.61, -44.45) |
| CIE-LCH | lch(30.54, 49.43, 295.92°) |
| OKLab | oklab(40.97% 0.0108 -0.1274) |
| OKLCH | oklch(40.97% 0.128 274.9) |
| XYZ | xyz(8.3452, 6.4599, 26.3931) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.86
Darkslateblue
#483D8B
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 5.56
Cobalt (survey)
#1E488F
ΔE00 5.90
Twilight
#4E518B
ΔE00 6.51
Cobalt
#0047AB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38408E #8E8638
analogous
#386B8E #38408E #5B388E
triadic
#38408E #8E3840 #408E38
tetradic
#38408E #8E386B #8E8638 #388E5B
square
#38408E #8E386B #8E8638 #388E5B
split-complementary
#38408E #8E5B38 #6B8E38
monochromatic
#151836 #272C62 #38408E #4B55B8 #777FC9
Accessibility & contrast
On white
9.16
#38408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#38408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38408E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38408E | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #38408e; /* rgb */ color: rgb(56, 64, 142); /* oklch */ color: oklch(41.0% 0.128 274.9);
Tailwind
colors: {
custom: {
50: '#7774b0',
500: '#38408e',
950: '#000000',
},
}SCSS
$custom: #38408e; $custom-light: #7774b0; $custom-dark: #000000;
JSON
{
"hex": "#38408e",
"rgb": {
"r": 56,
"g": 64,
"b": 142
},
"hsl": {
"h": 234.419,
"s": 43.434,
"l": 38.824
},
"oklch": {
"l": 0.40966,
"c": 0.12785,
"h": 274.9
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#38408E
secondary
#B2AC6F
accent
#C755D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F