#38419F#38419F
#38419F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.151 H 273.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #38419F |
|---|---|
| RGB | rgb(56, 65, 159) |
| HSL | hsl(235, 48%, 42%) |
| HSV | hsv(235, 65%, 62%) |
| CMYK | cmyk(64.8%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(32.09, 27.00, -52.32) |
| CIE-LCH | lch(32.09, 58.87, 297.30°) |
| OKLab | oklab(42.52% 0.0103 -0.1505) |
| OKLCH | oklch(42.52% 0.151 273.9) |
| XYZ | xyz(9.7771, 7.1237, 33.6539) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.92
Sapphire (survey)
#2138AB
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38419F #9F9638
analogous
#38759F #38419F #62389F
triadic
#38419F #9F3841 #419F38
tetradic
#38419F #9F3875 #9F9638 #389F62
square
#38419F #9F3875 #9F9638 #389F62
split-complementary
#38419F #9F6238 #759F38
monochromatic
#181C44 #282E72 #38419F #525CC2 #7F87D2
Accessibility & contrast
On white
8.66
#38419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#38419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38419F
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38419F | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #38419f; /* rgb */ color: rgb(56, 65, 159); /* oklch */ color: oklch(42.5% 0.151 273.9);
Tailwind
colors: {
custom: {
50: '#7a75bc',
500: '#38419f',
950: '#000000',
},
}SCSS
$custom: #38419f; $custom-light: #7a75bc; $custom-dark: #000000;
JSON
{
"hex": "#38419f",
"rgb": {
"r": 56,
"g": 65,
"b": 159
},
"hsl": {
"h": 234.757,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.42522,
"c": 0.15086,
"h": 273.9
},
"luminance": 0.07125
}Semantic roles & 50–950 ramp
primary
#38419F
secondary
#BBB677
accent
#CC50D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81