#5A74BB#5A74BB
#5A74BB is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.1% C 0.114 H 267.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5A74BB |
|---|---|
| RGB | rgb(90, 116, 187) |
| HSL | hsl(224, 42%, 54%) |
| HSV | hsv(224, 52%, 73%) |
| CMYK | cmyk(51.9%, 38%, 0%, 26.7%) |
| CIE-LAB | lab(49.80, 10.92, -40.34) |
| CIE-LCH | lch(49.80, 41.79, 285.14°) |
| OKLab | oklab(57.1% -0.0049 -0.114) |
| OKLCH | oklch(57.1% 0.114 267.5) |
| XYZ | xyz(19.4285, 18.2510, 49.5031) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.90
French Blue
#436BAD
ΔE00 5.15
Royal Blue
#4169E1
ΔE00 6.14
Cadet Blue
#4E7496
ΔE00 6.68
Dull Blue
#49759C
ΔE00 6.68
Windows Blue
#3778BF
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A74BB #BBA15A
analogous
#5AA4BB #5A74BB #715ABB
triadic
#5A74BB #BB5A74 #74BB5A
tetradic
#5A74BB #BB5AA4 #BBA15A #5ABB71
square
#5A74BB #BB5AA4 #BBA15A #5ABB71
split-complementary
#5A74BB #BB715A #A4BB5A
monochromatic
#2D3E6D #3F5799 #5A74BB #8599CD #B1BDDF
Accessibility & contrast
On white
4.52
#5A74BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#5A74BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A74BB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A74BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A74BB | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#2D838E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5a74bb; /* rgb */ color: rgb(90, 116, 187); /* oklch */ color: oklch(57.1% 0.114 267.5);
Tailwind
colors: {
custom: {
50: '#8f9bd0',
500: '#5a74bb',
950: '#000000',
},
}SCSS
$custom: #5a74bb; $custom-light: #8f9bd0; $custom-dark: #000000;
JSON
{
"hex": "#5a74bb",
"rgb": {
"r": 90,
"g": 116,
"b": 187
},
"hsl": {
"h": 223.918,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.57101,
"c": 0.11415,
"h": 267.5
},
"luminance": 0.18252
}Semantic roles & 50–950 ramp
primary
#5A74BB
secondary
#CDC2A4
accent
#B056D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82