#5A5DC0#5A5DC0
#5A5DC0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.152 H 278.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5DC0 |
|---|---|
| RGB | rgb(90, 93, 192) |
| HSL | hsl(238, 45%, 55%) |
| HSV | hsv(238, 53%, 75%) |
| CMYK | cmyk(53.1%, 51.6%, 0%, 24.7%) |
| CIE-LAB | lab(43.95, 26.79, -52.55) |
| CIE-LCH | lch(43.95, 58.99, 297.01°) |
| OKLab | oklab(52.74% 0.0225 -0.15) |
| OKLCH | oklch(52.74% 0.152 278.5) |
| XYZ | xyz(17.6422, 13.8070, 51.5943) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.58
Dark Periwinkle
#665FD1
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.46
Royal Blue
#4169E1
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5DC0 #C0BD5A
analogous
#5A90C0 #5A5DC0 #8A5AC0
triadic
#5A5DC0 #C05A5D #5DC05A
tetradic
#5A5DC0 #C05A90 #C0BD5A #5AC08A
square
#5A5DC0 #C05A90 #C0BD5A #5AC08A
split-complementary
#5A5DC0 #C08A5A #90C05A
monochromatic
#2C2E73 #3D40A0 #5A5DC0 #8688D1 #B3B4E2
Accessibility & contrast
On white
5.58
#5A5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#5A5DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5DC0
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5DC0 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#1C64BE
Tritanopia (blue-blind)
#2D7385
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5a5dc0; /* rgb */ color: rgb(90, 93, 192); /* oklch */ color: oklch(52.7% 0.152 278.5);
Tailwind
colors: {
custom: {
50: '#908ad4',
500: '#5a5dc0',
950: '#000000',
},
}SCSS
$custom: #5a5dc0; $custom-light: #908ad4; $custom-dark: #000000;
JSON
{
"hex": "#5a5dc0",
"rgb": {
"r": 90,
"g": 93,
"b": 192
},
"hsl": {
"h": 238.235,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.52739,
"c": 0.15172,
"h": 278.5
},
"luminance": 0.13808
}Semantic roles & 50–950 ramp
primary
#5A5DC0
secondary
#D0CFA6
accent
#D153D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83