#5A668B#5A668B
#5A668B is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.5% C 0.061 H 270.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A668B |
|---|---|
| RGB | rgb(90, 102, 139) |
| HSL | hsl(225, 21%, 45%) |
| HSV | hsv(225, 35%, 55%) |
| CMYK | cmyk(35.3%, 26.6%, 0%, 45.5%) |
| CIE-LAB | lab(43.57, 4.94, -21.88) |
| CIE-LCH | lch(43.57, 22.43, 282.72°) |
| OKLab | oklab(51.52% 0.0003 -0.0607) |
| OKLCH | oklch(51.52% 0.061 270.3) |
| XYZ | xyz(13.6267, 13.5399, 26.3166) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.43
Dusk
#4E5481
ΔE00 6.52
Denim Blue
#3B5B92
ΔE00 7.55
Twilight
#4E518B
ΔE00 7.90
Denim (survey)
#3B638C
ΔE00 8.08
French Blue
#436BAD
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A668B #8B7F5A
analogous
#5A7E8B #5A668B #675A8B
triadic
#5A668B #8B5A66 #668B5A
tetradic
#5A668B #8B5A7E #8B7F5A #5A8B67
square
#5A668B #8B5A7E #8B7F5A #5A8B67
split-complementary
#5A668B #8B675A #7E8B5A
monochromatic
#2A2F41 #424B66 #5A668B #7A85A9 #9FA7C1
Accessibility & contrast
On white
5.66
#5A668B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#5A668B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A668B
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A668B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A668B | 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)
#5A698D
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#4C6D73
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a668b; /* rgb */ color: rgb(90, 102, 139); /* oklch */ color: oklch(51.5% 0.061 270.3);
Tailwind
colors: {
custom: {
50: '#8a91ad',
500: '#5a668b',
950: '#000000',
},
}SCSS
$custom: #5a668b; $custom-light: #8a91ad; $custom-dark: #000000;
JSON
{
"hex": "#5a668b",
"rgb": {
"r": 90,
"g": 102,
"b": 139
},
"hsl": {
"h": 225.306,
"s": 21.397,
"l": 44.902
},
"oklch": {
"l": 0.51521,
"c": 0.06068,
"h": 270.3
},
"luminance": 0.1354
}Semantic roles & 50–950 ramp
primary
#5A668B
secondary
#AFA892
accent
#A96ABE
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F