#5A74B2#5A74B2
#5A74B2 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.6% C 0.101 H 266.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5A74B2 |
|---|---|
| RGB | rgb(90, 116, 178) |
| HSL | hsl(222, 36%, 53%) |
| HSV | hsv(222, 49%, 70%) |
| CMYK | cmyk(49.4%, 34.8%, 0%, 30.2%) |
| CIE-LAB | lab(49.35, 8.07, -35.85) |
| CIE-LCH | lch(49.35, 36.75, 282.69°) |
| OKLab | oklab(56.6% -0.0071 -0.101) |
| OKLCH | oklch(56.6% 0.101 266) |
| XYZ | xyz(18.4951, 17.8776, 44.5870) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.79
Cornflower Blue
#5170D7
ΔE00 4.96
Cadet Blue
#4E7496
ΔE00 6.25
Dull Blue
#49759C
ΔE00 6.25
Flat Blue
#3C73A8
ΔE00 6.55
Windows Blue
#3778BF
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A74B2 #B2985A
analogous
#5AA0B2 #5A74B2 #6C5AB2
triadic
#5A74B2 #B25A74 #74B25A
tetradic
#5A74B2 #B25AA0 #B2985A #5AB26C
square
#5A74B2 #B25AA0 #B2985A #5AB26C
split-complementary
#5A74B2 #B26C5A #A0B25A
monochromatic
#2E3E63 #42588D #5A74B2 #8497C5 #ADBAD9
Accessibility & contrast
On white
4.59
#5A74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#5A74B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5A74B2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A74B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A74B2 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#35818B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5a74b2; /* rgb */ color: rgb(90, 116, 178); /* oklch */ color: oklch(56.6% 0.101 266.0);
Tailwind
colors: {
custom: {
50: '#8e9bc9',
500: '#5a74b2',
950: '#000000',
},
}SCSS
$custom: #5a74b2; $custom-light: #8e9bc9; $custom-dark: #000000;
JSON
{
"hex": "#5a74b2",
"rgb": {
"r": 90,
"g": 116,
"b": 178
},
"hsl": {
"h": 222.273,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.56604,
"c": 0.10121,
"h": 266
},
"luminance": 0.17879
}Semantic roles & 50–950 ramp
primary
#5A74B2
secondary
#C7BCA1
accent
#AB5BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82