#5B56CC#5B56CC
#5B56CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.177 H 280.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56CC |
|---|---|
| RGB | rgb(91, 86, 204) |
| HSL | hsl(243, 54%, 57%) |
| HSV | hsv(243, 58%, 80%) |
| CMYK | cmyk(55.4%, 57.8%, 0%, 20%) |
| CIE-LAB | lab(43.12, 35.14, -60.84) |
| CIE-LCH | lch(43.12, 70.26, 300.01°) |
| OKLab | oklab(52.4% 0.0315 -0.1744) |
| OKLCH | oklch(52.4% 0.177 280.2) |
| XYZ | xyz(18.5378, 13.2382, 58.6934) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.76
Slate Blue
#6A5ACD
ΔE00 2.77
Warm Blue
#4B57DB
ΔE00 2.97
Dark Periwinkle
#665FD1
ΔE00 3.23
Light Indigo
#6D5ACF
ΔE00 3.29
Bluey Purple
#6241C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56CC #C7CC56
analogous
#568CCC #5B56CC #9656CC
triadic
#5B56CC #CC5B56 #56CC5B
tetradic
#5B56CC #CC568C #C7CC56 #56CC96
square
#5B56CC #CC568C #C7CC56 #56CC96
split-complementary
#5B56CC #CC9656 #8CCC56
monochromatic
#2B2781 #3A35B0 #5B56CC #8985DA #B6B4E8
Accessibility & contrast
On white
5.76
#5B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5B56CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56CC
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56CC | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#227289
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b56cc; /* rgb */ color: rgb(91, 86, 204); /* oklch */ color: oklch(52.4% 0.177 280.2);
Tailwind
colors: {
custom: {
50: '#9386dc',
500: '#5b56cc',
950: '#000000',
},
}SCSS
$custom: #5b56cc; $custom-light: #9386dc; $custom-dark: #000000;
JSON
{
"hex": "#5b56cc",
"rgb": {
"r": 91,
"g": 86,
"b": 204
},
"hsl": {
"h": 242.542,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.52395,
"c": 0.17727,
"h": 280.2
},
"luminance": 0.13239
}Semantic roles & 50–950 ramp
primary
#5B56CC
secondary
#D5D7A7
accent
#DD4BD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83