#4C38D8#4C38D8
#4C38D8 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.7% C 0.229 H 278.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4C38D8 |
|---|---|
| RGB | rgb(76, 56, 216) |
| HSL | hsl(248, 67%, 53%) |
| HSV | hsv(248, 74%, 85%) |
| CMYK | cmyk(64.8%, 74.1%, 0%, 15.3%) |
| CIE-LAB | lab(36.60, 53.82, -78.47) |
| CIE-LCH | lch(36.60, 95.15, 304.44°) |
| OKLab | oklab(47.69% 0.0352 -0.2266) |
| OKLCH | oklch(47.69% 0.229 278.8) |
| XYZ | xyz(16.7854, 9.3213, 65.8671) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 1.76
Blue With A Hint Of Purple
#533CC6
ΔE00 2.42
Purpley Blue
#5F34E7
ΔE00 3.15
Bluey Purple
#6241C7
ΔE00 3.97
Burple
#6832E3
ΔE00 3.98
Light Royal Blue
#3A2EFE
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C38D8 #C4D838
analogous
#3874D8 #4C38D8 #9C38D8
triadic
#4C38D8 #D84C38 #38D84C
tetradic
#4C38D8 #D83874 #C4D838 #38D89C
square
#4C38D8 #D83874 #C4D838 #38D89C
split-complementary
#4C38D8 #D89C38 #74D838
monochromatic
#25197D #3423B0 #4C38D8 #7A6BE2 #A89EEC
Accessibility & contrast
On white
7.33
#4C38D8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#4C38D8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C38D8
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C38D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C38D8 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CDD
Deuteranopia (green-blind)
#0050D5
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4c38d8; /* rgb */ color: rgb(76, 56, 216); /* oklch */ color: oklch(47.7% 0.229 278.8);
Tailwind
colors: {
custom: {
50: '#9072e5',
500: '#4c38d8',
950: '#000000',
},
}SCSS
$custom: #4c38d8; $custom-light: #9072e5; $custom-dark: #000000;
JSON
{
"hex": "#4c38d8",
"rgb": {
"r": 76,
"g": 56,
"b": 216
},
"hsl": {
"h": 247.5,
"s": 67.227,
"l": 53.333
},
"oklch": {
"l": 0.47692,
"c": 0.22927,
"h": 278.8
},
"luminance": 0.09323
}Semantic roles & 50–950 ramp
primary
#4C38D8
secondary
#D0D893
accent
#EA3ED5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84