#5B7EFF#5B7EFF
#5B7EFF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.195 H 268.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7EFF |
|---|---|
| RGB | rgb(91, 126, 255) |
| HSL | hsl(227, 100%, 68%) |
| HSV | hsv(227, 64%, 100%) |
| CMYK | cmyk(64.3%, 50.6%, 0%, 0%) |
| CIE-LAB | lab(56.45, 27.46, -68.00) |
| CIE-LCH | lch(56.45, 73.34, 291.99°) |
| OKLab | oklab(63.47% -0.004 -0.1951) |
| OKLCH | oklch(63.47% 0.195 268.8) |
| XYZ | xyz(29.8191, 24.3631, 97.7195) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.13
Lightish Blue
#3D7AFD
ΔE00 3.40
Soft Blue
#6488EA
ΔE00 3.90
Dodger Blue
#3E82FC
ΔE00 4.29
Clear Blue
#247AFD
ΔE00 5.15
Deep Sky Blue
#0D75F8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7EFF #FFDC5B
analogous
#5BD0FF #5B7EFF #8A5BFF
triadic
#5B7EFF #FF5B7E #7EFF5B
tetradic
#5B7EFF #FF5BD0 #FFDC5B #5BFF8A
square
#5B7EFF #FF5BD0 #FFDC5B #5BFF8A
split-complementary
#5B7EFF #FF8A5B #D0FF5B
monochromatic
#0030E0 #1E4EFF #5B7EFF #98AEFF #D5DEFF
Accessibility & contrast
On white
3.58
#5B7EFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#5B7EFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7EFF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7EFF | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#009CB3
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5b7eff; /* rgb */ color: rgb(91, 126, 255); /* oklch */ color: oklch(63.5% 0.195 268.8);
Tailwind
colors: {
custom: {
50: '#99a2ff',
500: '#5b7eff',
950: '#000000',
},
}SCSS
$custom: #5b7eff; $custom-light: #99a2ff; $custom-dark: #000000;
JSON
{
"hex": "#5b7eff",
"rgb": {
"r": 91,
"g": 126,
"b": 255
},
"hsl": {
"h": 227.195,
"s": 100,
"l": 67.843
},
"oklch": {
"l": 0.63472,
"c": 0.19515,
"h": 268.8
},
"luminance": 0.24366
}Semantic roles & 50–950 ramp
primary
#5B7EFF
secondary
#F4E9C2
accent
#B500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86