#5A6BB9#5A6BB9
#5A6BB9 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.1% C 0.123 H 272.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6BB9 |
|---|---|
| RGB | rgb(90, 107, 185) |
| HSL | hsl(229, 40%, 54%) |
| HSV | hsv(229, 51%, 73%) |
| CMYK | cmyk(51.4%, 42.2%, 0%, 27.5%) |
| CIE-LAB | lab(47.22, 15.82, -43.27) |
| CIE-LCH | lch(47.22, 46.07, 290.09°) |
| OKLab | oklab(55.08% 0.0054 -0.1227) |
| OKLCH | oklch(55.08% 0.123 272.5) |
| XYZ | xyz(18.2283, 16.1907, 48.0541) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.79
French Blue
#436BAD
ΔE00 5.14
Royal Blue
#4169E1
ΔE00 5.95
Dark Periwinkle
#665FD1
ΔE00 6.50
Dusky Blue
#475F94
ΔE00 6.99
Iris
#6258C4
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6BB9 #B9A85A
analogous
#5A9BB9 #5A6BB9 #795AB9
triadic
#5A6BB9 #B95A6B #6BB95A
tetradic
#5A6BB9 #B95A9B #B9A85A #5AB979
square
#5A6BB9 #B95A9B #B9A85A #5AB979
split-complementary
#5A6BB9 #B9795A #9BB95A
monochromatic
#2D386B #404F96 #5A6BB9 #8592CB #B0B8DD
Accessibility & contrast
On white
4.95
#5A6BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5A6BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6BB9
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6BB9 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#317C89
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a6bb9; /* rgb */ color: rgb(90, 107, 185); /* oklch */ color: oklch(55.1% 0.123 272.5);
Tailwind
colors: {
custom: {
50: '#8f95ce',
500: '#5a6bb9',
950: '#000000',
},
}SCSS
$custom: #5a6bb9; $custom-light: #8f95ce; $custom-dark: #000000;
JSON
{
"hex": "#5a6bb9",
"rgb": {
"r": 90,
"g": 107,
"b": 185
},
"hsl": {
"h": 229.263,
"s": 40.426,
"l": 53.922
},
"oklch": {
"l": 0.55085,
"c": 0.12278,
"h": 272.5
},
"luminance": 0.16192
}Semantic roles & 50–950 ramp
primary
#5A6BB9
secondary
#CCC4A3
accent
#BB58D0
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82