#5A6BDD#5A6BDD
#5A6BDD is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.173 H 273.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6BDD |
|---|---|
| RGB | rgb(90, 107, 221) |
| HSL | hsl(232, 66%, 61%) |
| HSV | hsv(232, 59%, 87%) |
| CMYK | cmyk(59.3%, 51.6%, 0%, 13.3%) |
| CIE-LAB | lab(49.38, 27.57, -60.43) |
| CIE-LCH | lch(49.38, 66.42, 294.53°) |
| OKLab | oklab(57.42% 0.01 -0.1731) |
| OKLCH | oklch(57.42% 0.173 273.3) |
| XYZ | xyz(22.5210, 17.9077, 70.6623) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.84
Royal Blue
#4169E1
ΔE00 3.30
Dark Periwinkle
#665FD1
ΔE00 5.18
Bright Blue
#0165FC
ΔE00 6.01
Cornflower
#6A79F7
ΔE00 6.15
Azul
#1D5DEC
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6BDD #DDCC5A
analogous
#5AACDD #5A6BDD #8A5ADD
triadic
#5A6BDD #DD5A6B #6BDD5A
tetradic
#5A6BDD #DD5AAC #DDCC5A #5ADD8A
square
#5A6BDD #DD5AAC #DDCC5A #5ADD8A
split-complementary
#5A6BDD #DD8A5A #ACDD5A
monochromatic
#20309C #2B40CF #5A6BDD #8D99E7 #BFC6F2
Accessibility & contrast
On white
4.58
#5A6BDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#5A6BDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6BDD
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6BDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6BDD | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#297BE1
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5a6bdd; /* rgb */ color: rgb(90, 107, 221); /* oklch */ color: oklch(57.4% 0.173 273.3);
Tailwind
colors: {
custom: {
50: '#9495e8',
500: '#5a6bdd',
950: '#000000',
},
}SCSS
$custom: #5a6bdd; $custom-light: #9495e8; $custom-dark: #000000;
JSON
{
"hex": "#5a6bdd",
"rgb": {
"r": 90,
"g": 107,
"b": 221
},
"hsl": {
"h": 232.214,
"s": 65.829,
"l": 60.98
},
"oklch": {
"l": 0.57422,
"c": 0.17336,
"h": 273.3
},
"luminance": 0.1791
}Semantic roles & 50–950 ramp
primary
#5A6BDD
secondary
#E2DCB1
accent
#B618CE
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84