#5456C8#5456C8
#5456C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.173 H 277.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5456C8 |
|---|---|
| RGB | rgb(84, 86, 200) |
| HSL | hsl(239, 51%, 56%) |
| HSV | hsv(239, 58%, 78%) |
| CMYK | cmyk(58%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(42.32, 32.55, -59.85) |
| CIE-LCH | lch(42.32, 68.13, 298.54°) |
| OKLab | oklab(51.58% 0.0231 -0.1717) |
| OKLCH | oklch(51.58% 0.173 277.7) |
| XYZ | xyz(17.4059, 12.7093, 56.1683) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.50
Warm Blue
#4B57DB
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5456C8 #C8C654
analogous
#5490C8 #5456C8 #8C54C8
triadic
#5456C8 #C85456 #56C854
tetradic
#5456C8 #C85490 #C8C654 #54C88C
square
#5456C8 #C85490 #C8C654 #54C88C
split-complementary
#5456C8 #C88C54 #90C854
monochromatic
#27297A #3638A9 #5456C8 #8284D7 #B1B2E6
Accessibility & contrast
On white
5.93
#5456C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5456C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5456C8
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5456C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5456C8 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#037186
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5456c8; /* rgb */ color: rgb(84, 86, 200); /* oklch */ color: oklch(51.6% 0.173 277.7);
Tailwind
colors: {
custom: {
50: '#8e85d9',
500: '#5456c8',
950: '#000000',
},
}SCSS
$custom: #5456c8; $custom-light: #8e85d9; $custom-dark: #000000;
JSON
{
"hex": "#5456c8",
"rgb": {
"r": 84,
"g": 86,
"b": 200
},
"hsl": {
"h": 238.966,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.51582,
"c": 0.17327,
"h": 277.7
},
"luminance": 0.12711
}Semantic roles & 50–950 ramp
primary
#5456C8
secondary
#D4D3A4
accent
#D84DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83