#5B61CD#5B61CD
#5B61CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.164 H 277.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61CD |
|---|---|
| RGB | rgb(91, 97, 205) |
| HSL | hsl(237, 53%, 58%) |
| HSV | hsv(237, 56%, 80%) |
| CMYK | cmyk(55.6%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(45.88, 28.70, -56.95) |
| CIE-LCH | lch(45.88, 63.78, 296.75°) |
| OKLab | oklab(54.47% 0.0202 -0.1629) |
| OKLCH | oklch(54.47% 0.164 277.1) |
| XYZ | xyz(19.6050, 15.1800, 59.6427) |
| Luminance | 0.1518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.33
Iris
#6258C4
ΔE00 3.70
Warm Blue
#4B57DB
ΔE00 3.89
Slate Blue
#6A5ACD
ΔE00 3.91
Light Indigo
#6D5ACF
ΔE00 4.36
Royal Blue
#4169E1
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61CD #CDC75B
analogous
#5B9ACD #5B61CD #8E5BCD
triadic
#5B61CD #CD5B61 #61CD5B
tetradic
#5B61CD #CD5B9A #CDC75B #5BCD8E
square
#5B61CD #CD5B9A #CDC75B #5BCD8E
split-complementary
#5B61CD #CD8E5B #9ACD5B
monochromatic
#292D85 #373DB4 #5B61CD #8A8EDB #B9BBEA
Accessibility & contrast
On white
5.20
#5B61CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5B61CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61CD
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61CD | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#0768CB
Tritanopia (blue-blind)
#1E7A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b61cd; /* rgb */ color: rgb(91, 97, 205); /* oklch */ color: oklch(54.5% 0.164 277.1);
Tailwind
colors: {
custom: {
50: '#928ddd',
500: '#5b61cd',
950: '#000000',
},
}SCSS
$custom: #5b61cd; $custom-light: #928ddd; $custom-dark: #000000;
JSON
{
"hex": "#5b61cd",
"rgb": {
"r": 91,
"g": 97,
"b": 205
},
"hsl": {
"h": 236.842,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.54472,
"c": 0.16417,
"h": 277.1
},
"luminance": 0.15181
}Semantic roles & 50–950 ramp
primary
#5B61CD
secondary
#D9D6AB
accent
#D54BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83