#38418F#38418F
#38418F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.128 H 274.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #38418F |
|---|---|
| RGB | rgb(56, 65, 143) |
| HSL | hsl(234, 44%, 39%) |
| HSV | hsv(234, 61%, 56%) |
| CMYK | cmyk(60.8%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.89, 21.30, -44.51) |
| CIE-LCH | lch(30.89, 49.35, 295.57°) |
| OKLab | oklab(41.25% 0.0098 -0.1276) |
| OKLCH | oklch(41.25% 0.128 274.4) |
| XYZ | xyz(8.4775, 6.6039, 26.8092) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.92
Darkslateblue
#483D8B
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 5.64
Twilight
#4E518B
ΔE00 6.34
Cobalt
#0047AB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38418F #8F8638
analogous
#386D8F #38418F #5B388F
triadic
#38418F #8F3841 #418F38
tetradic
#38418F #8F386D #8F8638 #388F5B
square
#38418F #8F386D #8F8638 #388F5B
split-complementary
#38418F #8F5B38 #6D8F38
monochromatic
#161937 #272D63 #38418F #4B57B9 #7780CA
Accessibility & contrast
On white
9.05
#38418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#38418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38418F
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38418F | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #38418f; /* rgb */ color: rgb(56, 65, 143); /* oklch */ color: oklch(41.2% 0.128 274.4);
Tailwind
colors: {
custom: {
50: '#7775b0',
500: '#38418f',
950: '#000000',
},
}SCSS
$custom: #38418f; $custom-light: #7775b0; $custom-dark: #000000;
JSON
{
"hex": "#38418f",
"rgb": {
"r": 56,
"g": 65,
"b": 143
},
"hsl": {
"h": 233.793,
"s": 43.719,
"l": 39.02
},
"oklch": {
"l": 0.41246,
"c": 0.12794,
"h": 274.4
},
"luminance": 0.06605
}Semantic roles & 50–950 ramp
primary
#38418F
secondary
#B3AC70
accent
#C654D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F