#5A61CD#5A61CD
#5A61CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.164 H 276.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5A61CD |
|---|---|
| RGB | rgb(90, 97, 205) |
| HSL | hsl(236, 53%, 58%) |
| HSV | hsv(236, 56%, 80%) |
| CMYK | cmyk(56.1%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(45.81, 28.50, -57.07) |
| CIE-LCH | lch(45.81, 63.79, 296.54°) |
| OKLab | oklab(54.4% 0.0191 -0.1633) |
| OKLCH | oklch(54.4% 0.164 276.7) |
| XYZ | xyz(19.5071, 15.1295, 59.6381) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.49
Iris
#6258C4
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.51
Royal Blue
#4169E1
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A61CD #CDC65A
analogous
#5A9ACD #5A61CD #8D5ACD
triadic
#5A61CD #CD5A61 #61CD5A
tetradic
#5A61CD #CD5A9A #CDC65A #5ACD8D
square
#5A61CD #CD5A9A #CDC65A #5ACD8D
split-complementary
#5A61CD #CD8D5A #9ACD5A
monochromatic
#282E84 #363EB3 #5A61CD #898EDB #B8BBE9
Accessibility & contrast
On white
5.22
#5A61CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5A61CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A61CD
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A61CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A61CD | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#0468CB
Tritanopia (blue-blind)
#1A7A8E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a61cd; /* rgb */ color: rgb(90, 97, 205); /* oklch */ color: oklch(54.4% 0.164 276.7);
Tailwind
colors: {
custom: {
50: '#928ddd',
500: '#5a61cd',
950: '#000000',
},
}SCSS
$custom: #5a61cd; $custom-light: #928ddd; $custom-dark: #000000;
JSON
{
"hex": "#5a61cd",
"rgb": {
"r": 90,
"g": 97,
"b": 205
},
"hsl": {
"h": 236.348,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.54403,
"c": 0.1644,
"h": 276.7
},
"luminance": 0.15131
}Semantic roles & 50–950 ramp
primary
#5A61CD
secondary
#D8D6AA
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83