#4864CD#4864CD
#4864CD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.165 H 269.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4864CD |
|---|---|
| RGB | rgb(72, 100, 205) |
| HSL | hsl(227, 57%, 54%) |
| HSV | hsv(227, 65%, 80%) |
| CMYK | cmyk(64.9%, 51.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.49, 23.37, -57.63) |
| CIE-LCH | lch(45.49, 62.19, 292.07°) |
| OKLab | oklab(53.88% -0.0029 -0.1653) |
| OKLCH | oklch(53.88% 0.165 269) |
| XYZ | xyz(18.2453, 14.8982, 59.6599) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.11
Cornflower Blue
#5170D7
ΔE00 4.38
Azul
#1D5DEC
ΔE00 4.47
Warm Blue
#4B57DB
ΔE00 4.98
French Blue
#436BAD
ΔE00 5.41
Bright Blue
#0165FC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4864CD #CDB148
analogous
#48A7CD #4864CD #6E48CD
triadic
#4864CD #CD4864 #64CD48
tetradic
#4864CD #CD48A7 #CDB148 #48CD6E
square
#4864CD #CD48A7 #CDB148 #48CD6E
split-complementary
#4864CD #CD6E48 #A7CD48
monochromatic
#213479 #2E48A9 #4864CD #788DDA #A8B5E7
Accessibility & contrast
On white
5.28
#4864CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#4864CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4864CD
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4864CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4864CD | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4864cd; /* rgb */ color: rgb(72, 100, 205); /* oklch */ color: oklch(53.9% 0.165 269.0);
Tailwind
colors: {
custom: {
50: '#898fdd',
500: '#4864cd',
950: '#000000',
},
}SCSS
$custom: #4864cd; $custom-light: #898fdd; $custom-dark: #000000;
JSON
{
"hex": "#4864cd",
"rgb": {
"r": 72,
"g": 100,
"b": 205
},
"hsl": {
"h": 227.368,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.53877,
"c": 0.16537,
"h": 269
},
"luminance": 0.149
}Semantic roles & 50–950 ramp
primary
#4864CD
secondary
#D5C99C
accent
#C047E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83