#5A6ABC#5A6ABC
#5A6ABC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.1% C 0.128 H 273.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6ABC |
|---|---|
| RGB | rgb(90, 106, 188) |
| HSL | hsl(230, 42%, 55%) |
| HSV | hsv(230, 52%, 74%) |
| CMYK | cmyk(52.1%, 43.6%, 0%, 26.3%) |
| CIE-LAB | lab(47.12, 17.41, -45.17) |
| CIE-LCH | lch(47.12, 48.41, 291.08°) |
| OKLab | oklab(55.06% 0.0071 -0.1282) |
| OKLCH | oklch(55.06% 0.128 273.2) |
| XYZ | xyz(18.4447, 16.1114, 49.7051) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.64
French Blue
#436BAD
ΔE00 5.41
Royal Blue
#4169E1
ΔE00 5.64
Dark Periwinkle
#665FD1
ΔE00 5.95
Iris
#6258C4
ΔE00 7.01
Dusky Blue
#475F94
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6ABC #BCAC5A
analogous
#5A9BBC #5A6ABC #7B5ABC
triadic
#5A6ABC #BC5A6A #6ABC5A
tetradic
#5A6ABC #BC5A9B #BCAC5A #5ABC7B
square
#5A6ABC #BC5A9B #BCAC5A #5ABC7B
split-complementary
#5A6ABC #BC7B5A #9BBC5A
monochromatic
#2D386F #3F4E9A #5A6ABC #8691CE #B1B9DF
Accessibility & contrast
On white
4.97
#5A6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5A6ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6ABC
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6ABC | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#2E7C8A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a6abc; /* rgb */ color: rgb(90, 106, 188); /* oklch */ color: oklch(55.1% 0.128 273.2);
Tailwind
colors: {
custom: {
50: '#8f94d0',
500: '#5a6abc',
950: '#000000',
},
}SCSS
$custom: #5a6abc; $custom-light: #8f94d0; $custom-dark: #000000;
JSON
{
"hex": "#5a6abc",
"rgb": {
"r": 90,
"g": 106,
"b": 188
},
"hsl": {
"h": 230.204,
"s": 42.241,
"l": 54.51
},
"oklch": {
"l": 0.5506,
"c": 0.12844,
"h": 273.2
},
"luminance": 0.16113
}Semantic roles & 50–950 ramp
primary
#5A6ABC
secondary
#CEC7A4
accent
#BE56D2
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82