#4E52D1#4E52D1
#4E52D1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.192 H 275.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52D1 |
|---|---|
| RGB | rgb(78, 82, 209) |
| HSL | hsl(238, 59%, 56%) |
| HSV | hsv(238, 63%, 82%) |
| CMYK | cmyk(62.7%, 60.8%, 0%, 18%) |
| CIE-LAB | lab(41.62, 36.97, -66.20) |
| CIE-LCH | lch(41.62, 75.82, 299.18°) |
| OKLab | oklab(51.17% 0.0197 -0.1906) |
| OKLCH | oklch(51.17% 0.192 275.9) |
| XYZ | xyz(17.6640, 12.2563, 61.7441) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.09
Iris
#6258C4
ΔE00 3.84
Slate Blue
#6A5ACD
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52D1 #D1CD4E
analogous
#4E94D1 #4E52D1 #8C4ED1
triadic
#4E52D1 #D14E52 #52D14E
tetradic
#4E52D1 #D14E94 #D1CD4E #4ED18C
square
#4E52D1 #D14E94 #D1CD4E #4ED18C
split-complementary
#4E52D1 #D18C4E #94D14E
monochromatic
#222583 #2F33B3 #4E52D1 #7F81DE #AFB1EA
Accessibility & contrast
On white
6.08
#4E52D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#4E52D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52D1
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52D1 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4e52d1; /* rgb */ color: rgb(78, 82, 209); /* oklch */ color: oklch(51.2% 0.192 275.9);
Tailwind
colors: {
custom: {
50: '#8d83e0',
500: '#4e52d1',
950: '#000000',
},
}SCSS
$custom: #4e52d1; $custom-light: #8d83e0; $custom-dark: #000000;
JSON
{
"hex": "#4e52d1",
"rgb": {
"r": 78,
"g": 82,
"b": 209
},
"hsl": {
"h": 238.168,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.51169,
"c": 0.19159,
"h": 275.9
},
"luminance": 0.12258
}Semantic roles & 50–950 ramp
primary
#4E52D1
secondary
#D8D7A2
accent
#DD46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83