#4879E8#4879E8
#4879E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.176 H 263.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4879E8 |
|---|---|
| RGB | rgb(72, 121, 232) |
| HSL | hsl(222, 78%, 60%) |
| HSV | hsv(222, 69%, 91%) |
| CMYK | cmyk(69%, 47.8%, 0%, 9%) |
| CIE-LAB | lab(52.81, 19.73, -61.14) |
| CIE-LCH | lch(52.81, 64.24, 287.88°) |
| OKLab | oklab(60% -0.0186 -0.1753) |
| OKLCH | oklch(60% 0.176 263.9) |
| XYZ | xyz(24.0702, 20.8762, 79.0893) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.26
Clear Blue
#247AFD
ΔE00 2.84
Deep Sky Blue
#0D75F8
ΔE00 3.23
Dodger Blue
#3E82FC
ΔE00 3.88
Cornflower Blue
#5170D7
ΔE00 4.11
Azure
#007FFF
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4879E8 #E8B748
analogous
#48C9E8 #4879E8 #6748E8
triadic
#4879E8 #E84879 #79E848
tetradic
#4879E8 #E848C9 #E8B748 #48E867
square
#4879E8 #E848C9 #E8B748 #48E867
split-complementary
#4879E8 #E86748 #C9E848
monochromatic
#143FA1 #1B55D8 #4879E8 #7EA1EF #B5C9F6
Accessibility & contrast
On white
4.06
#4879E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4879E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4879E8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4879E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4879E8 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#0E77E6
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4879e8; /* rgb */ color: rgb(72, 121, 232); /* oklch */ color: oklch(60.0% 0.176 263.9);
Tailwind
colors: {
custom: {
50: '#8d9ff0',
500: '#4879e8',
950: '#000000',
},
}SCSS
$custom: #4879e8; $custom-light: #8d9ff0; $custom-dark: #000000;
JSON
{
"hex": "#4879e8",
"rgb": {
"r": 72,
"g": 121,
"b": 232
},
"hsl": {
"h": 221.625,
"s": 77.67,
"l": 59.608
},
"oklch": {
"l": 0.60002,
"c": 0.17633,
"h": 263.9
},
"luminance": 0.20879
}Semantic roles & 50–950 ramp
primary
#4879E8
secondary
#E5D2A7
accent
#B934F4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85