#5A6BCF#5A6BCF
#5A6BCF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.154 H 273.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6BCF |
|---|---|
| RGB | rgb(90, 107, 207) |
| HSL | hsl(231, 55%, 58%) |
| HSV | hsv(231, 57%, 81%) |
| CMYK | cmyk(56.5%, 48.3%, 0%, 18.8%) |
| CIE-LAB | lab(48.50, 22.96, -53.89) |
| CIE-LCH | lch(48.50, 58.57, 293.08°) |
| OKLab | oklab(56.47% 0.0087 -0.1538) |
| OKLCH | oklch(56.47% 0.154 273.2) |
| XYZ | xyz(20.7330, 17.1925, 61.2453) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.79
Royal Blue
#4169E1
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 6.66
French Blue
#436BAD
ΔE00 6.68
Azul
#1D5DEC
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6BCF #CFBE5A
analogous
#5AA5CF #5A6BCF #835ACF
triadic
#5A6BCF #CF5A6B #6BCF5A
tetradic
#5A6BCF #CF5AA5 #CFBE5A #5ACF83
square
#5A6BCF #CF5AA5 #CFBE5A #5ACF83
split-complementary
#5A6BCF #CF835A #A5CF5A
monochromatic
#273587 #3548B7 #5A6BCF #8996DD #B9C0EB
Accessibility & contrast
On white
4.73
#5A6BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5A6BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6BCF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6BCF | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A78D3
Deuteranopia (green-blind)
#296ECD
Tritanopia (blue-blind)
#118193
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a6bcf; /* rgb */ color: rgb(90, 107, 207); /* oklch */ color: oklch(56.5% 0.154 273.2);
Tailwind
colors: {
custom: {
50: '#9295de',
500: '#5a6bcf',
950: '#000000',
},
}SCSS
$custom: #5a6bcf; $custom-light: #9295de; $custom-dark: #000000;
JSON
{
"hex": "#5a6bcf",
"rgb": {
"r": 90,
"g": 107,
"b": 207
},
"hsl": {
"h": 231.282,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.56473,
"c": 0.15407,
"h": 273.2
},
"luminance": 0.17194
}Semantic roles & 50–950 ramp
primary
#5A6BCF
secondary
#DAD3AB
accent
#C94ADE
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83