#4B51E8#4B51E8
#4B51E8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.223 H 274.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4B51E8 |
|---|---|
| RGB | rgb(75, 81, 232) |
| HSL | hsl(238, 77%, 60%) |
| HSV | hsv(238, 68%, 91%) |
| CMYK | cmyk(67.7%, 65.1%, 0%, 9%) |
| CIE-LAB | lab(43.07, 44.77, -76.96) |
| CIE-LCH | lch(43.07, 89.03, 300.19°) |
| OKLab | oklab(52.76% 0.0156 -0.2222) |
| OKLCH | oklch(52.76% 0.223 274) |
| XYZ | xyz(20.4047, 13.2050, 77.8018) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.37
Electric Blue
#0652FF
ΔE00 3.85
Purpleish Blue
#6140EF
ΔE00 5.03
Azul
#1D5DEC
ΔE00 5.67
Iris
#6258C4
ΔE00 5.70
Dark Periwinkle
#665FD1
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B51E8 #E8E24B
analogous
#4B9FE8 #4B51E8 #934BE8
triadic
#4B51E8 #E84B51 #51E84B
tetradic
#4B51E8 #E84B9F #E8E24B #4BE893
square
#4B51E8 #E84B9F #E8E24B #4BE893
split-complementary
#4B51E8 #E8934B #9FE84B
monochromatic
#151AA4 #1C23DA #4B51E8 #8185EF #B8BAF6
Accessibility & contrast
On white
5.77
#4B51E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#4B51E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B51E8
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B51E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B51E8 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4b51e8; /* rgb */ color: rgb(75, 81, 232); /* oklch */ color: oklch(52.8% 0.223 274.0);
Tailwind
colors: {
custom: {
50: '#9082f0',
500: '#4b51e8',
950: '#000000',
},
}SCSS
$custom: #4b51e8; $custom-light: #9082f0; $custom-dark: #000000;
JSON
{
"hex": "#4b51e8",
"rgb": {
"r": 75,
"g": 81,
"b": 232
},
"hsl": {
"h": 237.707,
"s": 77.34,
"l": 60.196
},
"oklch": {
"l": 0.52759,
"c": 0.22276,
"h": 274
},
"luminance": 0.13207
}Semantic roles & 50–950 ramp
primary
#4B51E8
secondary
#E6E3A9
accent
#D20CDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85