#3A38B6#3A38B6
#3A38B6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.192 H 275.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A38B6 |
|---|---|
| RGB | rgb(58, 56, 182) |
| HSL | hsl(241, 53%, 47%) |
| HSV | hsv(241, 69%, 71%) |
| CMYK | cmyk(68.1%, 69.2%, 0%, 28.6%) |
| CIE-LAB | lab(32.04, 40.93, -66.15) |
| CIE-LCH | lch(32.04, 77.79, 301.75°) |
| OKLab | oklab(43.13% 0.0182 -0.1911) |
| OKLCH | oklch(43.13% 0.192 275.4) |
| XYZ | xyz(11.5998, 7.1042, 45.0068) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Ocean Blue
#4F42B5
ΔE00 3.62
Blue With A Hint Of Purple
#533CC6
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 4.21
Blurple
#5539CC
ΔE00 4.80
Blueberry
#464196
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A38B6 #B4B638
analogous
#3875B6 #3A38B6 #7938B6
triadic
#3A38B6 #B63A38 #38B63A
tetradic
#3A38B6 #B63875 #B4B638 #38B679
square
#3A38B6 #B63875 #B4B638 #38B679
split-complementary
#3A38B6 #B67938 #75B638
monochromatic
#1C1B58 #2B2A87 #3A38B6 #605ECD #8E8DDC
Accessibility & contrast
On white
8.67
#3A38B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3A38B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A38B6
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A38B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A38B6 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a38b6; /* rgb */ color: rgb(58, 56, 182); /* oklch */ color: oklch(43.1% 0.192 275.4);
Tailwind
colors: {
custom: {
50: '#816fcd',
500: '#3a38b6',
950: '#000000',
},
}SCSS
$custom: #3a38b6; $custom-light: #816fcd; $custom-dark: #000000;
JSON
{
"hex": "#3a38b6",
"rgb": {
"r": 58,
"g": 56,
"b": 182
},
"hsl": {
"h": 240.952,
"s": 52.941,
"l": 46.667
},
"oklch": {
"l": 0.43133,
"c": 0.19194,
"h": 275.4
},
"luminance": 0.07105
}Semantic roles & 50–950 ramp
primary
#3A38B6
secondary
#C5C684
accent
#DC4BDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82