#5B61DF#5B61DF
#5B61DF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.8% C 0.188 H 276.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61DF |
|---|---|
| RGB | rgb(91, 97, 223) |
| HSL | hsl(237, 67%, 62%) |
| HSV | hsv(237, 59%, 87%) |
| CMYK | cmyk(59.2%, 56.5%, 0%, 12.5%) |
| CIE-LAB | lab(47.10, 34.54, -65.24) |
| CIE-LCH | lch(47.10, 73.82, 297.90°) |
| OKLab | oklab(55.78% 0.0208 -0.1873) |
| OKLCH | oklch(55.78% 0.188 276.3) |
| XYZ | xyz(21.9041, 16.0996, 71.7510) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.77
Warm Blue
#4B57DB
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 4.65
Royal Blue
#4169E1
ΔE00 4.98
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61DF #DFD95B
analogous
#5BA3DF #5B61DF #975BDF
triadic
#5B61DF #DF5B61 #61DF5B
tetradic
#5B61DF #DF5BA3 #DFD95B #5BDF97
square
#5B61DF #DF5BA3 #DFD95B #5BDF97
split-complementary
#5B61DF #DF975B #A3DF5B
monochromatic
#1F25A0 #2931D4 #5B61DF #8E92E9 #C1C4F3
Accessibility & contrast
On white
4.98
#5B61DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5B61DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61DF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61DF | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5b61df; /* rgb */ color: rgb(91, 97, 223); /* oklch */ color: oklch(55.8% 0.188 276.3);
Tailwind
colors: {
custom: {
50: '#958eea',
500: '#5b61df',
950: '#000000',
},
}SCSS
$custom: #5b61df; $custom-light: #958eea; $custom-dark: #000000;
JSON
{
"hex": "#5b61df",
"rgb": {
"r": 91,
"g": 97,
"b": 223
},
"hsl": {
"h": 237.273,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.55776,
"c": 0.18846,
"h": 276.3
},
"luminance": 0.16101
}Semantic roles & 50–950 ramp
primary
#5B61DF
secondary
#E3E1B2
accent
#C716CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84