#5A5BC2#5A5BC2
#5A5BC2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.157 H 279.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BC2 |
|---|---|
| RGB | rgb(90, 91, 194) |
| HSL | hsl(239, 46%, 56%) |
| HSV | hsv(239, 54%, 76%) |
| CMYK | cmyk(53.6%, 53.1%, 0%, 23.9%) |
| CIE-LAB | lab(43.58, 28.67, -54.32) |
| CIE-LCH | lch(43.58, 61.42, 297.83°) |
| OKLab | oklab(52.5% 0.0248 -0.1552) |
| OKLCH | oklch(52.5% 0.157 279.1) |
| XYZ | xyz(17.6921, 13.5498, 52.7116) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.00
Dark Periwinkle
#665FD1
ΔE00 3.20
Slate Blue
#6A5ACD
ΔE00 3.46
Warm Blue
#4B57DB
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.07
Azul
#1D5DEC
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BC2 #C2C15A
analogous
#5A8FC2 #5A5BC2 #8D5AC2
triadic
#5A5BC2 #C25A5B #5BC25A
tetradic
#5A5BC2 #C25A8F #C2C15A #5AC28D
square
#5A5BC2 #C25A8F #C2C15A #5AC28D
split-complementary
#5A5BC2 #C28D5A #8FC25A
monochromatic
#2C2C76 #3C3DA3 #5A5BC2 #8787D3 #B3B4E3
Accessibility & contrast
On white
5.66
#5A5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#5A5BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BC2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BC2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#0F63C0
Tritanopia (blue-blind)
#2B7286
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a5bc2; /* rgb */ color: rgb(90, 91, 194); /* oklch */ color: oklch(52.5% 0.157 279.1);
Tailwind
colors: {
custom: {
50: '#9189d5',
500: '#5a5bc2',
950: '#000000',
},
}SCSS
$custom: #5a5bc2; $custom-light: #9189d5; $custom-dark: #000000;
JSON
{
"hex": "#5a5bc2",
"rgb": {
"r": 90,
"g": 91,
"b": 194
},
"hsl": {
"h": 239.423,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.525,
"c": 0.15721,
"h": 279.1
},
"luminance": 0.13551
}Semantic roles & 50–950 ramp
primary
#5A5BC2
secondary
#D2D1A6
accent
#D452D6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83