#5A74E8#5A74E8
#5A74E8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.177 H 270.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5A74E8 |
|---|---|
| RGB | rgb(90, 116, 232) |
| HSL | hsl(229, 76%, 63%) |
| HSV | hsv(229, 61%, 91%) |
| CMYK | cmyk(61.2%, 50%, 0%, 9%) |
| CIE-LAB | lab(52.39, 25.69, -61.78) |
| CIE-LCH | lch(52.39, 66.91, 292.58°) |
| OKLab | oklab(59.91% 0.0022 -0.177) |
| OKLCH | oklch(59.91% 0.177 270.7) |
| XYZ | xyz(25.0224, 20.4885, 78.9643) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.03
Cornflower
#6A79F7
ΔE00 3.53
Lightish Blue
#3D7AFD
ΔE00 4.50
Royal Blue
#4169E1
ΔE00 4.73
Clear Blue
#247AFD
ΔE00 5.93
Deep Sky Blue
#0D75F8
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A74E8 #E8CE5A
analogous
#5ABBE8 #5A74E8 #875AE8
triadic
#5A74E8 #E85A74 #74E85A
tetradic
#5A74E8 #E85ABB #E8CE5A #5AE887
square
#5A74E8 #E85ABB #E8CE5A #5AE887
split-complementary
#5A74E8 #E8875A #BBE85A
monochromatic
#1834AF #2447E1 #5A74E8 #90A1EF #C5CEF7
Accessibility & contrast
On white
4.12
#5A74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#5A74E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A74E8
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A74E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A74E8 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#0D77E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5a74e8; /* rgb */ color: rgb(90, 116, 232); /* oklch */ color: oklch(59.9% 0.177 270.7);
Tailwind
colors: {
custom: {
50: '#959bf0',
500: '#5a74e8',
950: '#000000',
},
}SCSS
$custom: #5a74e8; $custom-light: #959bf0; $custom-dark: #000000;
JSON
{
"hex": "#5a74e8",
"rgb": {
"r": 90,
"g": 116,
"b": 232
},
"hsl": {
"h": 229.014,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.59914,
"c": 0.17697,
"h": 270.7
},
"luminance": 0.20491
}Semantic roles & 50–950 ramp
primary
#5A74E8
secondary
#E8DFB5
accent
#B30ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85