#5D74F5#5D74F5
#5D74F5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.194 H 271.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5D74F5 |
|---|---|
| RGB | rgb(93, 116, 245) |
| HSL | hsl(231, 88%, 66%) |
| HSV | hsv(231, 62%, 96%) |
| CMYK | cmyk(62%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(53.39, 30.53, -67.40) |
| CIE-LCH | lch(53.39, 73.99, 294.37°) |
| OKLab | oklab(60.99% 0.0062 -0.1934) |
| OKLCH | oklch(60.99% 0.194 271.8) |
| XYZ | xyz(27.2355, 21.4082, 89.0654) |
| Luminance | 0.2141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.28
Lightish Blue
#3D7AFD
ΔE00 4.62
Cornflower Blue
#5170D7
ΔE00 4.72
Royal Blue
#4169E1
ΔE00 5.85
Clear Blue
#247AFD
ΔE00 6.33
Soft Blue
#6488EA
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D74F5 #F5DE5D
analogous
#5DC0F5 #5D74F5 #925DF5
triadic
#5D74F5 #F55D74 #74F55D
tetradic
#5D74F5 #F55DC0 #F5DE5D #5DF592
square
#5D74F5 #F55DC0 #F5DE5D #5DF592
split-complementary
#5D74F5 #F5925D #C0F55D
monochromatic
#0D29CB #2343F1 #5D74F5 #97A5F9 #D0D7FC
Accessibility & contrast
On white
3.98
#5D74F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#5D74F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D74F5
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D74F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D74F5 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5d74f5; /* rgb */ color: rgb(93, 116, 245); /* oklch */ color: oklch(61.0% 0.194 271.8);
Tailwind
colors: {
custom: {
50: '#999bf9',
500: '#5d74f5',
950: '#000000',
},
}SCSS
$custom: #5d74f5; $custom-light: #999bf9; $custom-dark: #000000;
JSON
{
"hex": "#5d74f5",
"rgb": {
"r": 93,
"g": 116,
"b": 245
},
"hsl": {
"h": 230.921,
"s": 88.372,
"l": 66.275
},
"oklch": {
"l": 0.60987,
"c": 0.19352,
"h": 271.8
},
"luminance": 0.21411
}Semantic roles & 50–950 ramp
primary
#5D74F5
secondary
#F0E8BE
accent
#C201E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85