#4866E1#4866E1
#4866E1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.190 H 269.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4866E1 |
|---|---|
| RGB | rgb(72, 102, 225) |
| HSL | hsl(228, 72%, 58%) |
| HSV | hsv(228, 68%, 88%) |
| CMYK | cmyk(68%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(47.38, 29.11, -65.97) |
| CIE-LCH | lch(47.38, 72.11, 293.81°) |
| OKLab | oklab(55.74% -0.0032 -0.1898) |
| OKLCH | oklch(55.74% 0.19 269) |
| XYZ | xyz(21.0098, 16.3147, 73.2614) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.54
Cornflower Blue
#5170D7
ΔE00 3.56
Azul
#1D5DEC
ΔE00 3.80
Bright Blue
#0165FC
ΔE00 3.89
Warm Blue
#4B57DB
ΔE00 5.09
Cerulean Blue
#056EEE
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4866E1 #E1C348
analogous
#48B3E1 #4866E1 #7648E1
triadic
#4866E1 #E14866 #66E148
tetradic
#4866E1 #E148B3 #E1C348 #48E176
square
#4866E1 #E148B3 #E1C348 #48E176
split-complementary
#4866E1 #E17648 #B3E148
monochromatic
#193196 #2142CB #4866E1 #7D92EA #B1BEF2
Accessibility & contrast
On white
4.93
#4866E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4866E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4866E1
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4866E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4866E1 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4866e1; /* rgb */ color: rgb(72, 102, 225); /* oklch */ color: oklch(55.7% 0.190 269.0);
Tailwind
colors: {
custom: {
50: '#8c91eb',
500: '#4866e1',
950: '#000000',
},
}SCSS
$custom: #4866e1; $custom-light: #8c91eb; $custom-dark: #000000;
JSON
{
"hex": "#4866e1",
"rgb": {
"r": 72,
"g": 102,
"b": 225
},
"hsl": {
"h": 228.235,
"s": 71.831,
"l": 58.235
},
"oklch": {
"l": 0.55738,
"c": 0.18987,
"h": 269
},
"luminance": 0.16317
}Semantic roles & 50–950 ramp
primary
#4866E1
secondary
#E1D5A4
accent
#CB39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84