#4866E7#4866E7
#4866E7 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.198 H 269.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4866E7 |
|---|---|
| RGB | rgb(72, 102, 231) |
| HSL | hsl(229, 77%, 59%) |
| HSV | hsv(229, 69%, 91%) |
| CMYK | cmyk(68.8%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(47.81, 31.20, -68.66) |
| CIE-LCH | lch(47.81, 75.42, 294.44°) |
| OKLab | oklab(56.19% -0.0029 -0.1978) |
| OKLCH | oklch(56.19% 0.198 269.2) |
| XYZ | xyz(21.8427, 16.6478, 77.6480) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.86
Bright Blue
#0165FC
ΔE00 3.61
Cornflower Blue
#5170D7
ΔE00 3.82
Azul
#1D5DEC
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 5.22
Cerulean Blue
#056EEE
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4866E7 #E7C948
analogous
#48B6E7 #4866E7 #7948E7
triadic
#4866E7 #E74866 #66E748
tetradic
#4866E7 #E748B6 #E7C948 #48E779
square
#4866E7 #E748B6 #E7C948 #48E779
split-complementary
#4866E7 #E77948 #B6E748
monochromatic
#152FA0 #1C3FD6 #4866E7 #7E93EE #B4C0F5
Accessibility & contrast
On white
4.85
#4866E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#4866E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4866E7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4866E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4866E7 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4866e7; /* rgb */ color: rgb(72, 102, 231); /* oklch */ color: oklch(56.2% 0.198 269.2);
Tailwind
colors: {
custom: {
50: '#8d91ef',
500: '#4866e7',
950: '#000000',
},
}SCSS
$custom: #4866e7; $custom-light: #8d91ef; $custom-dark: #000000;
JSON
{
"hex": "#4866e7",
"rgb": {
"r": 72,
"g": 102,
"b": 231
},
"hsl": {
"h": 228.679,
"s": 76.812,
"l": 59.412
},
"oklch": {
"l": 0.56195,
"c": 0.19778,
"h": 269.2
},
"luminance": 0.1665
}Semantic roles & 50–950 ramp
primary
#4866E7
secondary
#E4D9A6
accent
#CF34F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85