#4866E3#4866E3
#4866E3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.193 H 269.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4866E3 |
|---|---|
| RGB | rgb(72, 102, 227) |
| HSL | hsl(228, 73%, 59%) |
| HSV | hsv(228, 68%, 89%) |
| CMYK | cmyk(68.3%, 55.1%, 0%, 11%) |
| CIE-LAB | lab(47.53, 29.81, -66.87) |
| CIE-LCH | lch(47.53, 73.21, 294.03°) |
| OKLab | oklab(55.89% -0.0031 -0.1925) |
| OKLCH | oklch(55.89% 0.193 269.1) |
| XYZ | xyz(21.2842, 16.4244, 74.7067) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.62
Cornflower Blue
#5170D7
ΔE00 3.64
Bright Blue
#0165FC
ΔE00 3.78
Azul
#1D5DEC
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 5.12
Cerulean Blue
#056EEE
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4866E3 #E3C548
analogous
#48B3E3 #4866E3 #7748E3
triadic
#4866E3 #E34866 #66E348
tetradic
#4866E3 #E348B3 #E3C548 #48E377
square
#4866E3 #E348B3 #E3C548 #48E377
split-complementary
#4866E3 #E37748 #B3E348
monochromatic
#173199 #2041CE #4866E3 #7D92EB #B2BFF3
Accessibility & contrast
On white
4.90
#4866E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4866E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4866E3
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4866E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4866E3 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4866e3; /* rgb */ color: rgb(72, 102, 227); /* oklch */ color: oklch(55.9% 0.193 269.1);
Tailwind
colors: {
custom: {
50: '#8d91ed',
500: '#4866e3',
950: '#000000',
},
}SCSS
$custom: #4866e3; $custom-light: #8d91ed; $custom-dark: #000000;
JSON
{
"hex": "#4866e3",
"rgb": {
"r": 72,
"g": 102,
"b": 227
},
"hsl": {
"h": 228.387,
"s": 73.46,
"l": 58.627
},
"oklch": {
"l": 0.5589,
"c": 0.19251,
"h": 269.1
},
"luminance": 0.16427
}Semantic roles & 50–950 ramp
primary
#4866E3
secondary
#E2D6A5
accent
#CC38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84