#4B52E8#4B52E8
#4B52E8 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.222 H 273.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4B52E8 |
|---|---|
| RGB | rgb(75, 82, 232) |
| HSL | hsl(237, 77%, 60%) |
| HSV | hsv(237, 68%, 91%) |
| CMYK | cmyk(67.7%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(43.29, 44.18, -76.59) |
| CIE-LCH | lch(43.29, 88.42, 299.98°) |
| OKLab | oklab(52.92% 0.0149 -0.2211) |
| OKLCH | oklch(52.92% 0.222 273.8) |
| XYZ | xyz(20.4796, 13.3547, 77.8267) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.17
Electric Blue
#0652FF
ΔE00 3.79
Purpleish Blue
#6140EF
ΔE00 5.27
Azul
#1D5DEC
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.55
Iris
#6258C4
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B52E8 #E8E14B
analogous
#4BA0E8 #4B52E8 #934BE8
triadic
#4B52E8 #E84B52 #52E84B
tetradic
#4B52E8 #E84BA0 #E8E14B #4BE893
square
#4B52E8 #E84BA0 #E8E14B #4BE893
split-complementary
#4B52E8 #E8934B #A0E84B
monochromatic
#151BA4 #1C24DA #4B52E8 #8186EF #B8BAF6
Accessibility & contrast
On white
5.72
#4B52E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#4B52E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B52E8
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B52E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B52E8 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4b52e8; /* rgb */ color: rgb(75, 82, 232); /* oklch */ color: oklch(52.9% 0.222 273.8);
Tailwind
colors: {
custom: {
50: '#9083f0',
500: '#4b52e8',
950: '#000000',
},
}SCSS
$custom: #4b52e8; $custom-light: #9083f0; $custom-dark: #000000;
JSON
{
"hex": "#4b52e8",
"rgb": {
"r": 75,
"g": 82,
"b": 232
},
"hsl": {
"h": 237.325,
"s": 77.34,
"l": 60.196
},
"oklch": {
"l": 0.52921,
"c": 0.22165,
"h": 273.8
},
"luminance": 0.13357
}Semantic roles & 50–950 ramp
primary
#4B52E8
secondary
#E6E3A9
accent
#D00CDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85