#5A6BCD#5A6BCD
#5A6BCD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.151 H 273.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6BCD |
|---|---|
| RGB | rgb(90, 107, 205) |
| HSL | hsl(231, 53%, 58%) |
| HSV | hsv(231, 56%, 80%) |
| CMYK | cmyk(56.1%, 47.8%, 0%, 19.6%) |
| CIE-LAB | lab(48.38, 22.30, -52.94) |
| CIE-LCH | lch(48.38, 57.44, 292.85°) |
| OKLab | oklab(56.34% 0.0084 -0.151) |
| OKLCH | oklch(56.34% 0.151 273.2) |
| XYZ | xyz(20.4900, 17.0953, 59.9658) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.89
Royal Blue
#4169E1
ΔE00 3.87
Dark Periwinkle
#665FD1
ΔE00 5.18
French Blue
#436BAD
ΔE00 6.50
Warm Blue
#4B57DB
ΔE00 6.74
Azul
#1D5DEC
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6BCD #CDBC5A
analogous
#5AA5CD #5A6BCD #825ACD
triadic
#5A6BCD #CD5A6B #6BCD5A
tetradic
#5A6BCD #CD5AA5 #CDBC5A #5ACD82
square
#5A6BCD #CD5AA5 #CDBC5A #5ACD82
split-complementary
#5A6BCD #CD825A #A5CD5A
monochromatic
#283684 #3649B3 #5A6BCD #8995DB #B8BFE9
Accessibility & contrast
On white
4.75
#5A6BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#5A6BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6BCD
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6BCD | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#168192
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a6bcd; /* rgb */ color: rgb(90, 107, 205); /* oklch */ color: oklch(56.3% 0.151 273.2);
Tailwind
colors: {
custom: {
50: '#9195dd',
500: '#5a6bcd',
950: '#000000',
},
}SCSS
$custom: #5a6bcd; $custom-light: #9195dd; $custom-dark: #000000;
JSON
{
"hex": "#5a6bcd",
"rgb": {
"r": 90,
"g": 107,
"b": 205
},
"hsl": {
"h": 231.13,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.56341,
"c": 0.15128,
"h": 273.2
},
"luminance": 0.17097
}Semantic roles & 50–950 ramp
primary
#5A6BCD
secondary
#D8D2AA
accent
#C74BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83