#5A53BB#5A53BB
#5A53BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.158 H 282.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A53BB |
|---|---|
| RGB | rgb(90, 83, 187) |
| HSL | hsl(244, 43%, 53%) |
| HSV | hsv(244, 56%, 73%) |
| CMYK | cmyk(51.9%, 55.6%, 0%, 26.7%) |
| CIE-LAB | lab(41.13, 31.40, -54.19) |
| CIE-LCH | lch(41.13, 62.63, 300.09°) |
| OKLab | oklab(50.52% 0.0334 -0.1549) |
| OKLCH | oklch(50.52% 0.158 282.1) |
| XYZ | xyz(16.2766, 11.9471, 48.4524) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.30
Slate Blue
#6A5ACD
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A53BB #B4BB53
analogous
#5380BB #5A53BB #8E53BB
triadic
#5A53BB #BB5A53 #53BB5A
tetradic
#5A53BB #BB5380 #B4BB53 #53BB8E
square
#5A53BB #BB5380 #B4BB53 #53BB8E
split-complementary
#5A53BB #BB8E53 #80BB53
monochromatic
#2E2A6A #413B96 #5A53BB #847FCC #AEABDE
Accessibility & contrast
On white
6.20
#5A53BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5A53BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A53BB
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A53BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A53BB | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#336B7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5a53bb; /* rgb */ color: rgb(90, 83, 187); /* oklch */ color: oklch(50.5% 0.158 282.1);
Tailwind
colors: {
custom: {
50: '#9083d0',
500: '#5a53bb',
950: '#000000',
},
}SCSS
$custom: #5a53bb; $custom-light: #9083d0; $custom-dark: #000000;
JSON
{
"hex": "#5a53bb",
"rgb": {
"r": 90,
"g": 83,
"b": 187
},
"hsl": {
"h": 244.038,
"s": 43.333,
"l": 52.941
},
"oklch": {
"l": 0.50524,
"c": 0.15847,
"h": 282.1
},
"luminance": 0.11948
}Semantic roles & 50–950 ramp
primary
#5A53BB
secondary
#C8CB9E
accent
#D355CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82