#4868E7#4868E7
#4868E7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.195 H 268.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4868E7 |
|---|---|
| RGB | rgb(72, 104, 231) |
| HSL | hsl(228, 77%, 59%) |
| HSV | hsv(228, 69%, 91%) |
| CMYK | cmyk(68.8%, 55%, 0%, 9.4%) |
| CIE-LAB | lab(48.32, 29.96, -67.84) |
| CIE-LCH | lch(48.32, 74.16, 293.82°) |
| OKLab | oklab(56.57% -0.0045 -0.1953) |
| OKLCH | oklch(56.57% 0.195 268.7) |
| XYZ | xyz(22.0416, 17.0457, 77.7143) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.47
Cornflower Blue
#5170D7
ΔE00 3.25
Bright Blue
#0165FC
ΔE00 3.55
Azul
#1D5DEC
ΔE00 4.29
Cerulean Blue
#056EEE
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4868E7 #E7C748
analogous
#48B7E7 #4868E7 #7848E7
triadic
#4868E7 #E74868 #68E748
tetradic
#4868E7 #E748B7 #E7C748 #48E778
square
#4868E7 #E748B7 #E7C748 #48E778
split-complementary
#4868E7 #E77848 #B7E748
monochromatic
#1531A0 #1C41D6 #4868E7 #7E95EE #B4C1F5
Accessibility & contrast
On white
4.76
#4868E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#4868E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4868E7
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4868E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4868E7 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #4868e7; /* rgb */ color: rgb(72, 104, 231); /* oklch */ color: oklch(56.6% 0.195 268.7);
Tailwind
colors: {
custom: {
50: '#8d92ef',
500: '#4868e7',
950: '#000000',
},
}SCSS
$custom: #4868e7; $custom-light: #8d92ef; $custom-dark: #000000;
JSON
{
"hex": "#4868e7",
"rgb": {
"r": 72,
"g": 104,
"b": 231
},
"hsl": {
"h": 227.925,
"s": 76.812,
"l": 59.412
},
"oklch": {
"l": 0.56573,
"c": 0.19538,
"h": 268.7
},
"luminance": 0.17048
}Semantic roles & 50–950 ramp
primary
#4868E7
secondary
#E4D8A6
accent
#CD34F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D17
muted
#7E7D85