#4851E2#4851E2
#4851E2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.1% C 0.216 H 273.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4851E2 |
|---|---|
| RGB | rgb(72, 81, 226) |
| HSL | hsl(236, 73%, 58%) |
| HSV | hsv(236, 68%, 89%) |
| CMYK | cmyk(68.1%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(42.39, 42.41, -74.68) |
| CIE-LCH | lch(42.39, 85.88, 299.59°) |
| OKLab | oklab(52.06% 0.0127 -0.2156) |
| OKLCH | oklch(52.06% 0.216 273.4) |
| XYZ | xyz(19.3378, 12.7517, 73.3790) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.91
Electric Blue
#0652FF
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 5.41
Iris
#6258C4
ΔE00 5.42
Azul
#1D5DEC
ΔE00 5.46
Purpleish Blue
#6140EF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4851E2 #E2D948
analogous
#489EE2 #4851E2 #8C48E2
triadic
#4851E2 #E24851 #51E248
tetradic
#4851E2 #E2489E #E2D948 #48E28C
square
#4851E2 #E2489E #E2D948 #48E28C
split-complementary
#4851E2 #E28C48 #9EE248
monochromatic
#181F98 #202ACC #4851E2 #7D83EA #B2B5F3
Accessibility & contrast
On white
5.91
#4851E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#4851E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4851E2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4851E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4851E2 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4851e2; /* rgb */ color: rgb(72, 81, 226); /* oklch */ color: oklch(52.1% 0.216 273.4);
Tailwind
colors: {
custom: {
50: '#8e82ec',
500: '#4851e2',
950: '#000000',
},
}SCSS
$custom: #4851e2; $custom-light: #8e82ec; $custom-dark: #000000;
JSON
{
"hex": "#4851e2",
"rgb": {
"r": 72,
"g": 81,
"b": 226
},
"hsl": {
"h": 236.494,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.52058,
"c": 0.21601,
"h": 273.4
},
"luminance": 0.12754
}Semantic roles & 50–950 ramp
primary
#4851E2
secondary
#E1DEA4
accent
#E538EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84