#5B74E8#5B74E8
#5B74E8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.177 H 271.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5B74E8 |
|---|---|
| RGB | rgb(91, 116, 232) |
| HSL | hsl(229, 75%, 63%) |
| HSV | hsv(229, 61%, 91%) |
| CMYK | cmyk(60.8%, 50%, 0%, 9%) |
| CIE-LAB | lab(52.44, 25.87, -61.69) |
| CIE-LCH | lch(52.44, 66.89, 292.75°) |
| OKLab | oklab(59.97% 0.0032 -0.1767) |
| OKLCH | oklch(59.97% 0.177 271) |
| XYZ | xyz(25.1204, 20.5390, 78.9689) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.12
Cornflower
#6A79F7
ΔE00 3.42
Lightish Blue
#3D7AFD
ΔE00 4.62
Royal Blue
#4169E1
ΔE00 4.82
Clear Blue
#247AFD
ΔE00 6.07
Deep Sky Blue
#0D75F8
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B74E8 #E8CF5B
analogous
#5BBAE8 #5B74E8 #885BE8
triadic
#5B74E8 #E85B74 #74E85B
tetradic
#5B74E8 #E85BBA #E8CF5B #5BE888
square
#5B74E8 #E85BBA #E8CF5B #5BE888
split-complementary
#5B74E8 #E8885B #BAE85B
monochromatic
#1933B0 #2547E0 #5B74E8 #91A1F0 #C6CFF7
Accessibility & contrast
On white
4.11
#5B74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#5B74E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B74E8
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B74E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B74E8 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#0F77E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5b74e8; /* rgb */ color: rgb(91, 116, 232); /* oklch */ color: oklch(60.0% 0.177 271.0);
Tailwind
colors: {
custom: {
50: '#969bf0',
500: '#5b74e8',
950: '#000000',
},
}SCSS
$custom: #5b74e8; $custom-light: #969bf0; $custom-dark: #000000;
JSON
{
"hex": "#5b74e8",
"rgb": {
"r": 91,
"g": 116,
"b": 232
},
"hsl": {
"h": 229.362,
"s": 75.401,
"l": 63.333
},
"oklch": {
"l": 0.59971,
"c": 0.17669,
"h": 271
},
"luminance": 0.20541
}Semantic roles & 50–950 ramp
primary
#5B74E8
secondary
#E9E0B6
accent
#B40ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85