#38418E#38418E
#38418E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.126 H 274.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #38418E |
|---|---|
| RGB | rgb(56, 65, 142) |
| HSL | hsl(234, 43%, 39%) |
| HSV | hsv(234, 61%, 56%) |
| CMYK | cmyk(60.6%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(30.82, 20.94, -44.01) |
| CIE-LCH | lch(30.82, 48.74, 295.44°) |
| OKLab | oklab(41.17% 0.0097 -0.1261) |
| OKLCH | oklch(41.17% 0.126 274.4) |
| XYZ | xyz(8.4021, 6.5737, 26.4120) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.00
Darkslateblue
#483D8B
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 5.72
Twilight
#4E518B
ΔE00 6.28
Cobalt
#0047AB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38418E #8E8538
analogous
#386C8E #38418E #5A388E
triadic
#38418E #8E3841 #418E38
tetradic
#38418E #8E386C #8E8538 #388E5A
square
#38418E #8E386C #8E8538 #388E5A
split-complementary
#38418E #8E5A38 #6C8E38
monochromatic
#151936 #272D62 #38418E #4B57B8 #7780C9
Accessibility & contrast
On white
9.07
#38418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#38418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38418E
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38418E | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #38418e; /* rgb */ color: rgb(56, 65, 142); /* oklch */ color: oklch(41.2% 0.126 274.4);
Tailwind
colors: {
custom: {
50: '#7775b0',
500: '#38418e',
950: '#000000',
},
}SCSS
$custom: #38418e; $custom-light: #7775b0; $custom-dark: #000000;
JSON
{
"hex": "#38418e",
"rgb": {
"r": 56,
"g": 65,
"b": 142
},
"hsl": {
"h": 233.721,
"s": 43.434,
"l": 38.824
},
"oklch": {
"l": 0.4117,
"c": 0.12647,
"h": 274.4
},
"luminance": 0.06574
}Semantic roles & 50–950 ramp
primary
#38418E
secondary
#B2AB6F
accent
#C655D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F