#4E48C3#4E48C3
#4E48C3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.186 H 279.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4E48C3 |
|---|---|
| RGB | rgb(78, 72, 195) |
| HSL | hsl(243, 51%, 52%) |
| HSV | hsv(243, 63%, 76%) |
| CMYK | cmyk(60%, 63.1%, 0%, 23.5%) |
| CIE-LAB | lab(38.19, 38.46, -63.68) |
| CIE-LCH | lch(38.19, 74.40, 301.13°) |
| OKLab | oklab(48.31% 0.0292 -0.1832) |
| OKLCH | oklch(48.31% 0.186 279) |
| XYZ | xyz(15.3064, 10.1934, 52.7801) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.62
Blue With A Hint Of Purple
#533CC6
ΔE00 3.38
Bluey Purple
#6241C7
ΔE00 3.88
Blurple
#5539CC
ΔE00 4.21
Blue Blue
#2242C7
ΔE00 4.60
Iris
#6258C4
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E48C3 #BDC348
analogous
#487FC3 #4E48C3 #8C48C3
triadic
#4E48C3 #C34E48 #48C34E
tetradic
#4E48C3 #C3487F #BDC348 #48C38C
square
#4E48C3 #C3487F #BDC348 #48C38C
split-complementary
#4E48C3 #C38C48 #7FC348
monochromatic
#27246D #38339B #4E48C3 #7B76D2 #A7A4E1
Accessibility & contrast
On white
6.91
#4E48C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4E48C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E48C3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E48C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E48C3 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e48c3; /* rgb */ color: rgb(78, 72, 195); /* oklch */ color: oklch(48.3% 0.186 279.0);
Tailwind
colors: {
custom: {
50: '#8b7bd6',
500: '#4e48c3',
950: '#000000',
},
}SCSS
$custom: #4e48c3; $custom-light: #8b7bd6; $custom-dark: #000000;
JSON
{
"hex": "#4e48c3",
"rgb": {
"r": 78,
"g": 72,
"b": 195
},
"hsl": {
"h": 242.927,
"s": 50.617,
"l": 52.353
},
"oklch": {
"l": 0.48306,
"c": 0.18555,
"h": 279
},
"luminance": 0.10195
}Semantic roles & 50–950 ramp
primary
#4E48C3
secondary
#CCCE99
accent
#DA4ED3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83