#5D7CFA#5D7CFA
#5D7CFA is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.9% C 0.190 H 269.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7CFA |
|---|---|
| RGB | rgb(93, 124, 250) |
| HSL | hsl(228, 94%, 67%) |
| HSV | hsv(228, 63%, 98%) |
| CMYK | cmyk(62.8%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(55.73, 27.33, -66.40) |
| CIE-LCH | lch(55.73, 71.81, 292.37°) |
| OKLab | oklab(62.85% -0.0007 -0.1904) |
| OKLCH | oklch(62.85% 0.19 269.8) |
| XYZ | xyz(28.9713, 23.6420, 93.4606) |
| Luminance | 0.2364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.44
Lightish Blue
#3D7AFD
ΔE00 3.50
Soft Blue
#6488EA
ΔE00 4.24
Dodger Blue
#3E82FC
ΔE00 4.80
Clear Blue
#247AFD
ΔE00 5.32
Cornflower Blue
#5170D7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7CFA #FADB5D
analogous
#5DCAFA #5D7CFA #8D5DFA
triadic
#5D7CFA #FA5D7C #7CFA5D
tetradic
#5D7CFA #FA5DCA #FADB5D #5DFA8D
square
#5D7CFA #FA5DCA #FADB5D #5DFA8D
split-complementary
#5D7CFA #FA8D5D #CAFA5D
monochromatic
#0730D6 #224CF8 #5D7CFA #98ACFC #D4DCFE
Accessibility & contrast
On white
3.67
#5D7CFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#5D7CFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D7CFA
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D7CFA | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#0099AF
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5d7cfa; /* rgb */ color: rgb(93, 124, 250); /* oklch */ color: oklch(62.9% 0.190 269.8);
Tailwind
colors: {
custom: {
50: '#99a1fd',
500: '#5d7cfa',
950: '#000000',
},
}SCSS
$custom: #5d7cfa; $custom-light: #99a1fd; $custom-dark: #000000;
JSON
{
"hex": "#5d7cfa",
"rgb": {
"r": 93,
"g": 124,
"b": 250
},
"hsl": {
"h": 228.153,
"s": 94.012,
"l": 67.255
},
"oklch": {
"l": 0.62851,
"c": 0.19039,
"h": 269.8
},
"luminance": 0.23645
}Semantic roles & 50–950 ramp
primary
#5D7CFA
secondary
#F2E8C1
accent
#B800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86