#5D56C8#5D56C8
#5D56C8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.172 H 281.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5D56C8 |
|---|---|
| RGB | rgb(93, 86, 200) |
| HSL | hsl(244, 51%, 56%) |
| HSV | hsv(244, 57%, 78%) |
| CMYK | cmyk(53.5%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(42.99, 34.26, -58.73) |
| CIE-LCH | lch(42.99, 67.99, 300.25°) |
| OKLab | oklab(52.25% 0.034 -0.1682) |
| OKLCH | oklch(52.25% 0.172 281.4) |
| XYZ | xyz(18.2641, 13.1518, 56.2085) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.19
Slate Blue
#6A5ACD
ΔE00 2.58
Light Indigo
#6D5ACF
ΔE00 3.14
Dark Periwinkle
#665FD1
ΔE00 3.29
Warm Blue
#4B57DB
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D56C8 #C1C856
analogous
#5688C8 #5D56C8 #9656C8
triadic
#5D56C8 #C85D56 #56C85D
tetradic
#5D56C8 #C85688 #C1C856 #56C896
square
#5D56C8 #C85688 #C1C856 #56C896
split-complementary
#5D56C8 #C89656 #88C856
monochromatic
#2D287B #3E37AA #5D56C8 #8984D7 #B6B2E6
Accessibility & contrast
On white
5.78
#5D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5D56C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D56C8
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D56C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D56C8 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#2E7087
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5d56c8; /* rgb */ color: rgb(93, 86, 200); /* oklch */ color: oklch(52.2% 0.172 281.4);
Tailwind
colors: {
custom: {
50: '#9386d9',
500: '#5d56c8',
950: '#000000',
},
}SCSS
$custom: #5d56c8; $custom-light: #9386d9; $custom-dark: #000000;
JSON
{
"hex": "#5d56c8",
"rgb": {
"r": 93,
"g": 86,
"b": 200
},
"hsl": {
"h": 243.684,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.52249,
"c": 0.17158,
"h": 281.4
},
"luminance": 0.13153
}Semantic roles & 50–950 ramp
primary
#5D56C8
secondary
#D2D4A5
accent
#DA4DD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83