#4B52E1#4B52E1
#4B52E1 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.213 H 274.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4B52E1 |
|---|---|
| RGB | rgb(75, 82, 225) |
| HSL | hsl(237, 71%, 59%) |
| HSV | hsv(237, 67%, 88%) |
| CMYK | cmyk(66.7%, 63.6%, 0%, 11.8%) |
| CIE-LAB | lab(42.71, 41.86, -73.58) |
| CIE-LCH | lch(42.71, 84.65, 299.64°) |
| OKLab | oklab(52.32% 0.0154 -0.2123) |
| OKLCH | oklch(52.32% 0.213 274.2) |
| XYZ | xyz(19.5050, 12.9649, 72.6941) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.67
Electric Blue
#0652FF
ΔE00 4.24
Iris
#6258C4
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.41
Azul
#1D5DEC
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B52E1 #E1DA4B
analogous
#4B9DE1 #4B52E1 #8F4BE1
triadic
#4B52E1 #E14B52 #52E14B
tetradic
#4B52E1 #E14B9D #E1DA4B #4BE18F
square
#4B52E1 #E14B9D #E1DA4B #4BE18F
split-complementary
#4B52E1 #E18F4B #9DE14B
monochromatic
#191F98 #222ACD #4B52E1 #7F84EA #B4B7F2
Accessibility & contrast
On white
5.84
#4B52E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4B52E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B52E1
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B52E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B52E1 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4b52e1; /* rgb */ color: rgb(75, 82, 225); /* oklch */ color: oklch(52.3% 0.213 274.2);
Tailwind
colors: {
custom: {
50: '#8f83eb',
500: '#4b52e1',
950: '#000000',
},
}SCSS
$custom: #4b52e1; $custom-light: #8f83eb; $custom-dark: #000000;
JSON
{
"hex": "#4b52e1",
"rgb": {
"r": 75,
"g": 82,
"b": 225
},
"hsl": {
"h": 237.2,
"s": 71.429,
"l": 58.824
},
"oklch": {
"l": 0.52316,
"c": 0.21287,
"h": 274.2
},
"luminance": 0.12967
}Semantic roles & 50–950 ramp
primary
#4B52E1
secondary
#E1DFA6
accent
#E63AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84