#4864E3#4864E3
#4864E3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.195 H 269.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4864E3 |
|---|---|
| RGB | rgb(72, 100, 227) |
| HSL | hsl(229, 73%, 59%) |
| HSV | hsv(229, 68%, 89%) |
| CMYK | cmyk(68.3%, 55.9%, 0%, 11%) |
| CIE-LAB | lab(47.02, 31.06, -67.69) |
| CIE-LCH | lch(47.02, 74.47, 294.65°) |
| OKLab | oklab(55.51% -0.0015 -0.1949) |
| OKLCH | oklch(55.51% 0.195 269.6) |
| XYZ | xyz(21.0900, 16.0361, 74.6420) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.20
Azul
#1D5DEC
ΔE00 3.47
Bright Blue
#0165FC
ΔE00 3.96
Cornflower Blue
#5170D7
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.45
Dark Periwinkle
#665FD1
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4864E3 #E3C748
analogous
#48B2E3 #4864E3 #7948E3
triadic
#4864E3 #E34864 #64E348
tetradic
#4864E3 #E348B2 #E3C748 #48E379
square
#4864E3 #E348B2 #E3C748 #48E379
split-complementary
#4864E3 #E37948 #B2E348
monochromatic
#172F99 #203FCE #4864E3 #7D91EB #B2BEF3
Accessibility & contrast
On white
4.99
#4864E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#4864E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4864E3
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4864E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4864E3 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4864e3; /* rgb */ color: rgb(72, 100, 227); /* oklch */ color: oklch(55.5% 0.195 269.6);
Tailwind
colors: {
custom: {
50: '#8d8fed',
500: '#4864e3',
950: '#000000',
},
}SCSS
$custom: #4864e3; $custom-light: #8d8fed; $custom-dark: #000000;
JSON
{
"hex": "#4864e3",
"rgb": {
"r": 72,
"g": 100,
"b": 227
},
"hsl": {
"h": 229.161,
"s": 73.46,
"l": 58.627
},
"oklch": {
"l": 0.55511,
"c": 0.19494,
"h": 269.6
},
"luminance": 0.16038
}Semantic roles & 50–950 ramp
primary
#4864E3
secondary
#E2D7A5
accent
#CF38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84