#5A6FB2#5A6FB2
#5A6FB2 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.107 H 269.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6FB2 |
|---|---|
| RGB | rgb(90, 111, 178) |
| HSL | hsl(226, 36%, 53%) |
| HSV | hsv(226, 49%, 70%) |
| CMYK | cmyk(49.4%, 37.6%, 0%, 30.2%) |
| CIE-LAB | lab(47.95, 11.13, -38.05) |
| CIE-LCH | lch(47.95, 39.64, 286.31°) |
| OKLab | oklab(55.52% -0.0009 -0.1074) |
| OKLCH | oklch(55.52% 0.107 269.5) |
| XYZ | xyz(17.9342, 16.7558, 44.4000) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.58
Cornflower Blue
#5170D7
ΔE00 5.15
Royal Blue
#4169E1
ΔE00 6.75
Cadet Blue
#4E7496
ΔE00 6.84
Dusky Blue
#475F94
ΔE00 7.04
Dull Blue
#49759C
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6FB2 #B29D5A
analogous
#5A9BB2 #5A6FB2 #715AB2
triadic
#5A6FB2 #B25A6F #6FB25A
tetradic
#5A6FB2 #B25A9B #B29D5A #5AB271
square
#5A6FB2 #B25A9B #B29D5A #5AB271
split-complementary
#5A6FB2 #B2715A #9BB25A
monochromatic
#2E3B63 #42548D #5A6FB2 #8493C5 #ADB8D9
Accessibility & contrast
On white
4.83
#5A6FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#5A6FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6FB2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6FB2 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#367D88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5a6fb2; /* rgb */ color: rgb(90, 111, 178); /* oklch */ color: oklch(55.5% 0.107 269.5);
Tailwind
colors: {
custom: {
50: '#8e98c9',
500: '#5a6fb2',
950: '#000000',
},
}SCSS
$custom: #5a6fb2; $custom-light: #8e98c9; $custom-dark: #000000;
JSON
{
"hex": "#5a6fb2",
"rgb": {
"r": 90,
"g": 111,
"b": 178
},
"hsl": {
"h": 225.682,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.55523,
"c": 0.1074,
"h": 269.5
},
"luminance": 0.16757
}Semantic roles & 50–950 ramp
primary
#5A6FB2
secondary
#C7BEA1
accent
#B15BCC
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0D13
muted
#7E7E82