#5B61BA#5B61BA
#5B61BA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.138 H 277.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61BA |
|---|---|
| RGB | rgb(91, 97, 186) |
| HSL | hsl(236, 41%, 54%) |
| HSV | hsv(236, 51%, 73%) |
| CMYK | cmyk(51.1%, 47.8%, 0%, 27.1%) |
| CIE-LAB | lab(44.69, 22.60, -47.89) |
| CIE-LCH | lch(44.69, 52.95, 295.26°) |
| OKLab | oklab(53.19% 0.0185 -0.1363) |
| OKLCH | oklch(53.19% 0.138 277.7) |
| XYZ | xyz(17.4492, 14.3177, 48.2890) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.56
Warm Blue
#4B57DB
ΔE00 5.81
Dusky Blue
#475F94
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61BA #BAB45B
analogous
#5B90BA #5B61BA #855BBA
triadic
#5B61BA #BA5B61 #61BA5B
tetradic
#5B61BA #BA5B90 #BAB45B #5BBA85
square
#5B61BA #BA5B90 #BAB45B #5BBA85
split-complementary
#5B61BA #BA855B #90BA5B
monochromatic
#2E326D #404598 #5B61BA #868BCC #B1B4DE
Accessibility & contrast
On white
5.44
#5B61BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5B61BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61BA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61BA | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#347484
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b61ba; /* rgb */ color: rgb(91, 97, 186); /* oklch */ color: oklch(53.2% 0.138 277.7);
Tailwind
colors: {
custom: {
50: '#908dcf',
500: '#5b61ba',
950: '#000000',
},
}SCSS
$custom: #5b61ba; $custom-light: #908dcf; $custom-dark: #000000;
JSON
{
"hex": "#5b61ba",
"rgb": {
"r": 91,
"g": 97,
"b": 186
},
"hsl": {
"h": 236.211,
"s": 40.773,
"l": 54.314
},
"oklch": {
"l": 0.53188,
"c": 0.13753,
"h": 277.7
},
"luminance": 0.14319
}Semantic roles & 50–950 ramp
primary
#5B61BA
secondary
#CDCAA4
accent
#C957D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82