#3C38B5#3C38B5
#3C38B5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.190 H 276.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3C38B5 |
|---|---|
| RGB | rgb(60, 56, 181) |
| HSL | hsl(242, 53%, 46%) |
| HSV | hsv(242, 69%, 71%) |
| CMYK | cmyk(66.9%, 69.1%, 0%, 29%) |
| CIE-LAB | lab(32.09, 40.85, -65.48) |
| CIE-LCH | lch(32.09, 77.17, 301.96°) |
| OKLab | oklab(43.17% 0.0208 -0.1891) |
| OKLCH | oklch(43.17% 0.19 276.3) |
| XYZ | xyz(11.6154, 7.1242, 44.4701) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Ocean Blue
#4F42B5
ΔE00 3.47
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Blue Blue
#2242C7
ΔE00 4.40
Blurple
#5539CC
ΔE00 4.72
Blueberry
#464196
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C38B5 #B1B538
analogous
#3873B5 #3C38B5 #7B38B5
triadic
#3C38B5 #B53C38 #38B53C
tetradic
#3C38B5 #B53873 #B1B538 #38B57B
square
#3C38B5 #B53873 #B1B538 #38B57B
split-complementary
#3C38B5 #B57B38 #73B538
monochromatic
#1D1B58 #2D2A86 #3C38B5 #615DCD #8F8CDB
Accessibility & contrast
On white
8.66
#3C38B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3C38B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C38B5
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C38B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C38B5 | 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)
#0051B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3c38b5; /* rgb */ color: rgb(60, 56, 181); /* oklch */ color: oklch(43.2% 0.190 276.3);
Tailwind
colors: {
custom: {
50: '#8170cc',
500: '#3c38b5',
950: '#000000',
},
}SCSS
$custom: #3c38b5; $custom-light: #8170cc; $custom-dark: #000000;
JSON
{
"hex": "#3c38b5",
"rgb": {
"r": 60,
"g": 56,
"b": 181
},
"hsl": {
"h": 241.92,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.43173,
"c": 0.1902,
"h": 276.3
},
"luminance": 0.07125
}Semantic roles & 50–950 ramp
primary
#3C38B5
secondary
#C4C683
accent
#DC4CD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82