#5456DC#5456DC
#5456DC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.200 H 276.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5456DC |
|---|---|
| RGB | rgb(84, 86, 220) |
| HSL | hsl(239, 66%, 60%) |
| HSV | hsv(239, 62%, 86%) |
| CMYK | cmyk(61.8%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(43.81, 39.09, -68.91) |
| CIE-LCH | lch(43.81, 79.23, 299.57°) |
| OKLab | oklab(53.15% 0.0228 -0.1984) |
| OKLCH | oklch(53.15% 0.2 276.5) |
| XYZ | xyz(19.8980, 13.7061, 69.2932) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.35
Dark Periwinkle
#665FD1
ΔE00 3.84
Iris
#6258C4
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.40
Electric Blue
#0652FF
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5456DC #DCDA54
analogous
#549ADC #5456DC #9654DC
triadic
#5456DC #DC5456 #56DC54
tetradic
#5456DC #DC549A #DCDA54 #54DC96
square
#5456DC #DC549A #DCDA54 #54DC96
split-complementary
#5456DC #DC9654 #9ADC54
monochromatic
#1F2197 #292CCA #5456DC #8788E6 #BABAF1
Accessibility & contrast
On white
5.61
#5456DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5456DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5456DC
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5456DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5456DC | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5456dc; /* rgb */ color: rgb(84, 86, 220); /* oklch */ color: oklch(53.1% 0.200 276.5);
Tailwind
colors: {
custom: {
50: '#9286e8',
500: '#5456dc',
950: '#000000',
},
}SCSS
$custom: #5456dc; $custom-light: #9286e8; $custom-dark: #000000;
JSON
{
"hex": "#5456dc",
"rgb": {
"r": 84,
"g": 86,
"b": 220
},
"hsl": {
"h": 239.118,
"s": 66.019,
"l": 59.608
},
"oklch": {
"l": 0.53148,
"c": 0.19967,
"h": 276.5
},
"luminance": 0.13708
}Semantic roles & 50–950 ramp
primary
#5456DC
secondary
#E0E0AC
accent
#E63FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84