#5B75F5#5B75F5
#5B75F5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.193 H 271.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5B75F5 |
|---|---|
| RGB | rgb(91, 117, 245) |
| HSL | hsl(230, 89%, 66%) |
| HSV | hsv(230, 63%, 96%) |
| CMYK | cmyk(62.9%, 52.2%, 0%, 3.9%) |
| CIE-LAB | lab(53.53, 29.59, -67.18) |
| CIE-LCH | lch(53.53, 73.41, 293.77°) |
| OKLab | oklab(61.06% 0.0033 -0.1928) |
| OKLCH | oklch(61.06% 0.193 271) |
| XYZ | xyz(27.1516, 21.5369, 89.0947) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.38
Lightish Blue
#3D7AFD
ΔE00 4.15
Cornflower Blue
#5170D7
ΔE00 4.64
Royal Blue
#4169E1
ΔE00 5.86
Clear Blue
#247AFD
ΔE00 5.86
Soft Blue
#6488EA
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B75F5 #F5DB5B
analogous
#5BC2F5 #5B75F5 #8E5BF5
triadic
#5B75F5 #F55B75 #75F55B
tetradic
#5B75F5 #F55BC2 #F5DB5B #5BF58E
square
#5B75F5 #F55BC2 #F5DB5B #5BF58E
split-complementary
#5B75F5 #F58E5B #C2F55B
monochromatic
#0C2CC9 #2144F1 #5B75F5 #95A6F9 #CED6FC
Accessibility & contrast
On white
3.96
#5B75F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5B75F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B75F5
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B75F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B75F5 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2287F9
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5b75f5; /* rgb */ color: rgb(91, 117, 245); /* oklch */ color: oklch(61.1% 0.193 271.0);
Tailwind
colors: {
custom: {
50: '#989cf9',
500: '#5b75f5',
950: '#000000',
},
}SCSS
$custom: #5b75f5; $custom-light: #989cf9; $custom-dark: #000000;
JSON
{
"hex": "#5b75f5",
"rgb": {
"r": 91,
"g": 117,
"b": 245
},
"hsl": {
"h": 229.87,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.61062,
"c": 0.19284,
"h": 271
},
"luminance": 0.21539
}Semantic roles & 50–950 ramp
primary
#5B75F5
secondary
#EFE7BC
accent
#BE00E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85