#5B7FF6#5B7FF6
#5B7FF6 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.182 H 268.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7FF6 |
|---|---|
| RGB | rgb(91, 127, 246) |
| HSL | hsl(226, 90%, 66%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(63%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(56.14, 23.83, -63.53) |
| CIE-LCH | lch(56.14, 67.85, 290.56°) |
| OKLab | oklab(63.06% -0.0058 -0.1819) |
| OKLCH | oklch(63.06% 0.182 268.2) |
| XYZ | xyz(28.5326, 24.0542, 90.3102) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.12
Lightish Blue
#3D7AFD
ΔE00 3.13
Cornflower
#6A79F7
ΔE00 3.54
Dodger Blue
#3E82FC
ΔE00 3.77
Clear Blue
#247AFD
ΔE00 4.77
Azure
#007FFF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7FF6 #F6D25B
analogous
#5BCCF6 #5B7FF6 #845BF6
triadic
#5B7FF6 #F65B7F #7FF65B
tetradic
#5B7FF6 #F65BCC #F6D25B #5BF684
square
#5B7FF6 #F65BCC #F6D25B #5BF684
split-complementary
#5B7FF6 #F6845B #CCF65B
monochromatic
#0B38CB #2152F3 #5B7FF6 #95ACF9 #CFDAFC
Accessibility & contrast
On white
3.61
#5B7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5B7FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7FF6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7FF6 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#1B80F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5b7ff6; /* rgb */ color: rgb(91, 127, 246); /* oklch */ color: oklch(63.1% 0.182 268.2);
Tailwind
colors: {
custom: {
50: '#97a3fa',
500: '#5b7ff6',
950: '#000000',
},
}SCSS
$custom: #5b7ff6; $custom-light: #97a3fa; $custom-dark: #000000;
JSON
{
"hex": "#5b7ff6",
"rgb": {
"r": 91,
"g": 127,
"b": 246
},
"hsl": {
"h": 226.065,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.63058,
"c": 0.18202,
"h": 268.2
},
"luminance": 0.24057
}Semantic roles & 50–950 ramp
primary
#5B7FF6
secondary
#F0E4BD
accent
#B000E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85