#5B61CF#5B61CF
#5B61CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.167 H 277.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61CF |
|---|---|
| RGB | rgb(91, 97, 207) |
| HSL | hsl(237, 55%, 58%) |
| HSV | hsv(237, 56%, 81%) |
| CMYK | cmyk(56%, 53.1%, 0%, 18.8%) |
| CIE-LAB | lab(46.01, 29.35, -57.89) |
| CIE-LCH | lch(46.01, 64.90, 296.88°) |
| OKLab | oklab(54.61% 0.0203 -0.1657) |
| OKLCH | oklch(54.61% 0.167 277) |
| XYZ | xyz(19.8480, 15.2772, 60.9223) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.25
Warm Blue
#4B57DB
ΔE00 3.77
Iris
#6258C4
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 4.32
Royal Blue
#4169E1
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61CF #CFC95B
analogous
#5B9BCF #5B61CF #8F5BCF
triadic
#5B61CF #CF5B61 #61CF5B
tetradic
#5B61CF #CF5B9B #CFC95B #5BCF8F
square
#5B61CF #CF5B9B #CFC95B #5BCF8F
split-complementary
#5B61CF #CF8F5B #9BCF5B
monochromatic
#282D88 #363CB7 #5B61CF #8A8FDD #BABCEB
Accessibility & contrast
On white
5.18
#5B61CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5B61CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61CF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61CF | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#1A7A8F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b61cf; /* rgb */ color: rgb(91, 97, 207); /* oklch */ color: oklch(54.6% 0.167 277.0);
Tailwind
colors: {
custom: {
50: '#938dde',
500: '#5b61cf',
950: '#000000',
},
}SCSS
$custom: #5b61cf; $custom-light: #938dde; $custom-dark: #000000;
JSON
{
"hex": "#5b61cf",
"rgb": {
"r": 91,
"g": 97,
"b": 207
},
"hsl": {
"h": 236.897,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.54613,
"c": 0.16691,
"h": 277
},
"luminance": 0.15279
}Semantic roles & 50–950 ramp
primary
#5B61CF
secondary
#DAD8AC
accent
#D64ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83