#5D5EF0#5D5EF0
#5D5EF0 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.214 H 276.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5EF0 |
|---|---|
| RGB | rgb(93, 94, 240) |
| HSL | hsl(240, 83%, 65%) |
| HSV | hsv(240, 61%, 94%) |
| CMYK | cmyk(61.2%, 60.8%, 0%, 5.9%) |
| CIE-LAB | lab(47.78, 42.17, -73.72) |
| CIE-LCH | lch(47.78, 84.93, 299.77°) |
| OKLab | oklab(56.7% 0.0255 -0.2122) |
| OKLCH | oklch(56.7% 0.214 276.8) |
| XYZ | xyz(24.2400, 16.6219, 84.3522) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 5.32
Slate Blue
#6A5ACD
ΔE00 5.35
Mediumslateblue
#7B68EE
ΔE00 5.37
Electric Blue
#0652FF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5EF0 #F0EF5D
analogous
#5DA7F0 #5D5EF0 #A65DF0
triadic
#5D5EF0 #F05D5E #5EF05D
tetradic
#5D5EF0 #F05DA7 #F0EF5D #5DF0A6
square
#5D5EF0 #F05DA7 #F0EF5D #5DF0A6
split-complementary
#5D5EF0 #F0A65D #A7F05D
monochromatic
#1213C1 #2526EB #5D5EF0 #9596F5 #CDCDFA
Accessibility & contrast
On white
4.86
#5D5EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5D5EF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5EF0
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5EF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5EF0 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d5ef0; /* rgb */ color: rgb(93, 94, 240); /* oklch */ color: oklch(56.7% 0.214 276.8);
Tailwind
colors: {
custom: {
50: '#998cf6',
500: '#5d5ef0',
950: '#000000',
},
}SCSS
$custom: #5d5ef0; $custom-light: #998cf6; $custom-dark: #000000;
JSON
{
"hex": "#5d5ef0",
"rgb": {
"r": 93,
"g": 94,
"b": 240
},
"hsl": {
"h": 239.592,
"s": 83.051,
"l": 65.294
},
"oklch": {
"l": 0.56701,
"c": 0.21372,
"h": 276.8
},
"luminance": 0.16624
}Semantic roles & 50–950 ramp
primary
#5D5EF0
secondary
#EDEDBC
accent
#DE06DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85