#4B52E3#4B52E3
#4B52E3 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.215 H 274.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4B52E3 |
|---|---|
| RGB | rgb(75, 82, 227) |
| HSL | hsl(237, 73%, 59%) |
| HSV | hsv(237, 67%, 89%) |
| CMYK | cmyk(67%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(42.88, 42.52, -74.44) |
| CIE-LCH | lch(42.88, 85.73, 299.74°) |
| OKLab | oklab(52.49% 0.0153 -0.2148) |
| OKLCH | oklch(52.49% 0.215 274.1) |
| XYZ | xyz(19.7795, 13.0747, 74.1394) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.79
Electric Blue
#0652FF
ΔE00 4.09
Iris
#6258C4
ΔE00 5.25
Dark Periwinkle
#665FD1
ΔE00 5.40
Purpleish Blue
#6140EF
ΔE00 5.46
Azul
#1D5DEC
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B52E3 #E3DC4B
analogous
#4B9EE3 #4B52E3 #904BE3
triadic
#4B52E3 #E34B52 #52E34B
tetradic
#4B52E3 #E34B9E #E3DC4B #4BE390
square
#4B52E3 #E34B9E #E3DC4B #4BE390
split-complementary
#4B52E3 #E3904B #9EE34B
monochromatic
#181E9B #2029D0 #4B52E3 #8085EB #B5B8F3
Accessibility & contrast
On white
5.81
#4B52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4B52E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B52E3
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B52E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B52E3 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4b52e3; /* rgb */ color: rgb(75, 82, 227); /* oklch */ color: oklch(52.5% 0.215 274.1);
Tailwind
colors: {
custom: {
50: '#8f83ed',
500: '#4b52e3',
950: '#000000',
},
}SCSS
$custom: #4b52e3; $custom-light: #8f83ed; $custom-dark: #000000;
JSON
{
"hex": "#4b52e3",
"rgb": {
"r": 75,
"g": 82,
"b": 227
},
"hsl": {
"h": 237.237,
"s": 73.077,
"l": 59.216
},
"oklch": {
"l": 0.52488,
"c": 0.21539,
"h": 274.1
},
"luminance": 0.13076
}Semantic roles & 50–950 ramp
primary
#4B52E3
secondary
#E3E0A7
accent
#E738F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84