#4868E1#4868E1
#4868E1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.187 H 268.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4868E1 |
|---|---|
| RGB | rgb(72, 104, 225) |
| HSL | hsl(227, 72%, 58%) |
| HSV | hsv(227, 68%, 88%) |
| CMYK | cmyk(68%, 53.8%, 0%, 11.8%) |
| CIE-LAB | lab(47.90, 27.86, -65.14) |
| CIE-LCH | lch(47.90, 70.85, 293.15°) |
| OKLab | oklab(56.12% -0.0048 -0.1874) |
| OKLCH | oklch(56.12% 0.187 268.5) |
| XYZ | xyz(21.2087, 16.7125, 73.3277) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.03
Cornflower Blue
#5170D7
ΔE00 2.94
Bright Blue
#0165FC
ΔE00 3.82
Azul
#1D5DEC
ΔE00 4.23
Cerulean Blue
#056EEE
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4868E1 #E1C148
analogous
#48B4E1 #4868E1 #7448E1
triadic
#4868E1 #E14868 #68E148
tetradic
#4868E1 #E148B4 #E1C148 #48E174
square
#4868E1 #E148B4 #E1C148 #48E174
split-complementary
#4868E1 #E17448 #B4E148
monochromatic
#193396 #2145CB #4868E1 #7D93EA #B1BFF2
Accessibility & contrast
On white
4.84
#4868E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#4868E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4868E1
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4868E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4868E1 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0479E5
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4868e1; /* rgb */ color: rgb(72, 104, 225); /* oklch */ color: oklch(56.1% 0.187 268.5);
Tailwind
colors: {
custom: {
50: '#8c92eb',
500: '#4868e1',
950: '#000000',
},
}SCSS
$custom: #4868e1; $custom-light: #8c92eb; $custom-dark: #000000;
JSON
{
"hex": "#4868e1",
"rgb": {
"r": 72,
"g": 104,
"b": 225
},
"hsl": {
"h": 227.451,
"s": 71.831,
"l": 58.235
},
"oklch": {
"l": 0.56123,
"c": 0.18744,
"h": 268.5
},
"luminance": 0.16715
}Semantic roles & 50–950 ramp
primary
#4868E1
secondary
#E1D4A4
accent
#C939EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84