#4E52D7#4E52D7
#4E52D7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.199 H 275.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52D7 |
|---|---|
| RGB | rgb(78, 82, 215) |
| HSL | hsl(238, 63%, 57%) |
| HSV | hsv(238, 64%, 84%) |
| CMYK | cmyk(63.7%, 61.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.09, 38.96, -68.87) |
| CIE-LCH | lch(42.09, 79.13, 299.50°) |
| OKLab | oklab(51.66% 0.0194 -0.1984) |
| OKLCH | oklch(51.66% 0.199 275.6) |
| XYZ | xyz(18.4209, 12.5590, 65.7302) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.72
Iris
#6258C4
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.87
Dark Periwinkle
#665FD1
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.27
Electric Blue
#0652FF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52D7 #D7D34E
analogous
#4E97D7 #4E52D7 #8E4ED7
triadic
#4E52D7 #D74E52 #52D74E
tetradic
#4E52D7 #D74E97 #D7D34E #4ED78E
square
#4E52D7 #D74E97 #D7D34E #4ED78E
split-complementary
#4E52D7 #D78E4E #97D74E
monochromatic
#1F238B #2B2FBD #4E52D7 #8083E2 #B2B4EE
Accessibility & contrast
On white
5.98
#4E52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4E52D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52D7
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52D7 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4e52d7; /* rgb */ color: rgb(78, 82, 215); /* oklch */ color: oklch(51.7% 0.199 275.6);
Tailwind
colors: {
custom: {
50: '#8e83e4',
500: '#4e52d7',
950: '#000000',
},
}SCSS
$custom: #4e52d7; $custom-light: #8e83e4; $custom-dark: #000000;
JSON
{
"hex": "#4e52d7",
"rgb": {
"r": 78,
"g": 82,
"b": 215
},
"hsl": {
"h": 238.248,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.51661,
"c": 0.19939,
"h": 275.6
},
"luminance": 0.12561
}Semantic roles & 50–950 ramp
primary
#4E52D7
secondary
#DCDAA5
accent
#E142E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84