#5B74E7#5B74E7
#5B74E7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.175 H 271.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5B74E7 |
|---|---|
| RGB | rgb(91, 116, 231) |
| HSL | hsl(229, 74%, 63%) |
| HSV | hsv(229, 61%, 91%) |
| CMYK | cmyk(60.6%, 49.8%, 0%, 9.4%) |
| CIE-LAB | lab(52.38, 25.53, -61.23) |
| CIE-LCH | lch(52.38, 66.34, 292.64°) |
| OKLab | oklab(59.9% 0.0031 -0.1753) |
| OKLCH | oklch(59.9% 0.175 271) |
| XYZ | xyz(24.9788, 20.4824, 78.2230) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.01
Cornflower
#6A79F7
ΔE00 3.51
Lightish Blue
#3D7AFD
ΔE00 4.66
Royal Blue
#4169E1
ΔE00 4.77
Clear Blue
#247AFD
ΔE00 6.08
Deep Sky Blue
#0D75F8
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B74E7 #E7CE5B
analogous
#5BBAE7 #5B74E7 #885BE7
triadic
#5B74E7 #E75B74 #74E75B
tetradic
#5B74E7 #E75BBA #E7CE5B #5BE788
square
#5B74E7 #E75BBA #E7CE5B #5BE788
split-complementary
#5B74E7 #E7885B #BAE75B
monochromatic
#1934AE #2647DF #5B74E7 #90A1EF #C6CEF7
Accessibility & contrast
On white
4.12
#5B74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#5B74E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B74E7
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B74E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B74E7 | 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)
#3583EB
Deuteranopia (green-blind)
#1377E5
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5b74e7; /* rgb */ color: rgb(91, 116, 231); /* oklch */ color: oklch(59.9% 0.175 271.0);
Tailwind
colors: {
custom: {
50: '#959bef',
500: '#5b74e7',
950: '#000000',
},
}SCSS
$custom: #5b74e7; $custom-light: #959bef; $custom-dark: #000000;
JSON
{
"hex": "#5b74e7",
"rgb": {
"r": 91,
"g": 116,
"b": 231
},
"hsl": {
"h": 229.286,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.59903,
"c": 0.17534,
"h": 271
},
"luminance": 0.20484
}Semantic roles & 50–950 ramp
primary
#5B74E7
secondary
#E8DFB6
accent
#B30FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84