#5B61CE#5B61CE
#5B61CE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.166 H 277.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61CE |
|---|---|
| RGB | rgb(91, 97, 206) |
| HSL | hsl(237, 54%, 58%) |
| HSV | hsv(237, 56%, 81%) |
| CMYK | cmyk(55.8%, 52.9%, 0%, 19.2%) |
| CIE-LAB | lab(45.95, 29.02, -57.42) |
| CIE-LCH | lch(45.95, 64.34, 296.82°) |
| OKLab | oklab(54.54% 0.0203 -0.1643) |
| OKLCH | oklch(54.54% 0.166 277) |
| XYZ | xyz(19.7261, 15.2284, 60.2805) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.28
Iris
#6258C4
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.34
Royal Blue
#4169E1
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61CE #CEC85B
analogous
#5B9ACE #5B61CE #8E5BCE
triadic
#5B61CE #CE5B61 #61CE5B
tetradic
#5B61CE #CE5B9A #CEC85B #5BCE8E
square
#5B61CE #CE5B9A #CEC85B #5BCE8E
split-complementary
#5B61CE #CE8E5B #9ACE5B
monochromatic
#282D86 #363DB6 #5B61CE #8A8EDC #B9BCEA
Accessibility & contrast
On white
5.19
#5B61CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5B61CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61CE
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61CE | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#0268CC
Tritanopia (blue-blind)
#1C7A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b61ce; /* rgb */ color: rgb(91, 97, 206); /* oklch */ color: oklch(54.5% 0.166 277.0);
Tailwind
colors: {
custom: {
50: '#928dde',
500: '#5b61ce',
950: '#000000',
},
}SCSS
$custom: #5b61ce; $custom-light: #928dde; $custom-dark: #000000;
JSON
{
"hex": "#5b61ce",
"rgb": {
"r": 91,
"g": 97,
"b": 206
},
"hsl": {
"h": 236.87,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.54542,
"c": 0.16555,
"h": 277
},
"luminance": 0.1523
}Semantic roles & 50–950 ramp
primary
#5B61CE
secondary
#D9D7AB
accent
#D64ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83