#5D74EA#5D74EA
#5D74EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.179 H 271.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5D74EA |
|---|---|
| RGB | rgb(93, 116, 234) |
| HSL | hsl(230, 77%, 64%) |
| HSV | hsv(230, 60%, 92%) |
| CMYK | cmyk(60.3%, 50.4%, 0%, 8.2%) |
| CIE-LAB | lab(52.68, 26.88, -62.42) |
| CIE-LCH | lch(52.68, 67.96, 293.30°) |
| OKLab | oklab(60.22% 0.0054 -0.1787) |
| OKLCH | oklch(60.22% 0.179 271.7) |
| XYZ | xyz(25.6059, 20.7564, 80.4830) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.03
Cornflower Blue
#5170D7
ΔE00 3.52
Lightish Blue
#3D7AFD
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 5.11
Clear Blue
#247AFD
ΔE00 6.32
Deep Sky Blue
#0D75F8
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D74EA #EAD35D
analogous
#5DBBEA #5D74EA #8D5DEA
triadic
#5D74EA #EA5D74 #74EA5D
tetradic
#5D74EA #EA5DBB #EAD35D #5DEA8D
square
#5D74EA #EA5DBB #EAD35D #5DEA8D
split-complementary
#5D74EA #EA8D5D #BBEA5D
monochromatic
#1731B5 #2746E3 #5D74EA #93A2F1 #C9D1F8
Accessibility & contrast
On white
4.08
#5D74EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#5D74EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D74EA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D74EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D74EA | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#0A78E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5d74ea; /* rgb */ color: rgb(93, 116, 234); /* oklch */ color: oklch(60.2% 0.179 271.7);
Tailwind
colors: {
custom: {
50: '#979bf1',
500: '#5d74ea',
950: '#000000',
},
}SCSS
$custom: #5d74ea; $custom-light: #979bf1; $custom-dark: #000000;
JSON
{
"hex": "#5d74ea",
"rgb": {
"r": 93,
"g": 116,
"b": 234
},
"hsl": {
"h": 230.213,
"s": 77.049,
"l": 64.118
},
"oklch": {
"l": 0.60224,
"c": 0.17883,
"h": 271.7
},
"luminance": 0.20758
}Semantic roles & 50–950 ramp
primary
#5D74EA
secondary
#EAE2B9
accent
#B80CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85