#5B61DB#5B61DB
#5B61DB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.183 H 276.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61DB |
|---|---|
| RGB | rgb(91, 97, 219) |
| HSL | hsl(237, 64%, 61%) |
| HSV | hsv(237, 58%, 86%) |
| CMYK | cmyk(58.4%, 55.7%, 0%, 14.1%) |
| CIE-LAB | lab(46.83, 33.24, -63.42) |
| CIE-LCH | lch(46.83, 71.61, 297.66°) |
| OKLab | oklab(55.48% 0.0208 -0.182) |
| OKLCH | oklch(55.48% 0.183 276.5) |
| XYZ | xyz(21.3711, 15.8864, 68.9443) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.48
Warm Blue
#4B57DB
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 4.47
Iris
#6258C4
ΔE00 4.68
Royal Blue
#4169E1
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61DB #DBD55B
analogous
#5BA1DB #5B61DB #955BDB
triadic
#5B61DB #DB5B61 #61DB5B
tetradic
#5B61DB #DB5BA1 #DBD55B #5BDB95
square
#5B61DB #DB5BA1 #DBD55B #5BDB95
split-complementary
#5B61DB #DB955B #A1DB5B
monochromatic
#22279A #2D34CC #5B61DB #8D91E6 #BFC2F1
Accessibility & contrast
On white
5.03
#5B61DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5B61DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61DB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61DB | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b61db; /* rgb */ color: rgb(91, 97, 219); /* oklch */ color: oklch(55.5% 0.183 276.5);
Tailwind
colors: {
custom: {
50: '#948ee7',
500: '#5b61db',
950: '#000000',
},
}SCSS
$custom: #5b61db; $custom-light: #948ee7; $custom-dark: #000000;
JSON
{
"hex": "#5b61db",
"rgb": {
"r": 91,
"g": 97,
"b": 219
},
"hsl": {
"h": 237.188,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.55479,
"c": 0.18314,
"h": 276.5
},
"luminance": 0.15888
}Semantic roles & 50–950 ramp
primary
#5B61DB
secondary
#E1DFB1
accent
#C31ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84