#5B7EF5#5B7EF5
#5B7EF5 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.182 H 268.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7EF5 |
|---|---|
| RGB | rgb(91, 126, 245) |
| HSL | hsl(226, 89%, 66%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(62.9%, 48.6%, 0%, 3.9%) |
| CIE-LAB | lab(55.82, 24.10, -63.49) |
| CIE-LCH | lch(55.82, 67.91, 290.79°) |
| OKLab | oklab(62.8% -0.005 -0.1818) |
| OKLCH | oklch(62.8% 0.182 268.4) |
| XYZ | xyz(28.2511, 23.7359, 89.4612) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.08
Cornflower
#6A79F7
ΔE00 3.32
Soft Blue
#6488EA
ΔE00 3.37
Dodger Blue
#3E82FC
ΔE00 3.97
Clear Blue
#247AFD
ΔE00 4.77
Deep Sky Blue
#0D75F8
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7EF5 #F5D25B
analogous
#5BCBF5 #5B7EF5 #855BF5
triadic
#5B7EF5 #F55B7E #7EF55B
tetradic
#5B7EF5 #F55BCB #F5D25B #5BF585
square
#5B7EF5 #F55BCB #F5D25B #5BF585
split-complementary
#5B7EF5 #F5855B #CBF55B
monochromatic
#0C37C9 #2151F1 #5B7EF5 #95ABF9 #CED9FC
Accessibility & contrast
On white
3.65
#5B7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#5B7EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7EF5
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7EF5 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#197FF3
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5b7ef5; /* rgb */ color: rgb(91, 126, 245); /* oklch */ color: oklch(62.8% 0.182 268.4);
Tailwind
colors: {
custom: {
50: '#97a2f9',
500: '#5b7ef5',
950: '#000000',
},
}SCSS
$custom: #5b7ef5; $custom-light: #97a2f9; $custom-dark: #000000;
JSON
{
"hex": "#5b7ef5",
"rgb": {
"r": 91,
"g": 126,
"b": 245
},
"hsl": {
"h": 226.364,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.62795,
"c": 0.1819,
"h": 268.4
},
"luminance": 0.23738
}Semantic roles & 50–950 ramp
primary
#5B7EF5
secondary
#EFE4BC
accent
#B100E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85