#5B7FFC#5B7FFC
#5B7FFC is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.190 H 268.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7FFC |
|---|---|
| RGB | rgb(91, 127, 252) |
| HSL | hsl(227, 96%, 67%) |
| HSV | hsv(227, 64%, 99%) |
| CMYK | cmyk(63.9%, 49.6%, 0%, 1.2%) |
| CIE-LAB | lab(56.51, 25.85, -66.25) |
| CIE-LCH | lch(56.51, 71.11, 291.31°) |
| OKLab | oklab(63.46% -0.0051 -0.1899) |
| OKLCH | oklch(63.46% 0.19 268.4) |
| XYZ | xyz(29.4684, 24.4285, 95.2388) |
| Luminance | 0.2443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.29
Cornflower
#6A79F7
ΔE00 3.40
Soft Blue
#6488EA
ΔE00 3.44
Dodger Blue
#3E82FC
ΔE00 3.96
Clear Blue
#247AFD
ΔE00 4.99
Azure
#007FFF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7FFC #FCD85B
analogous
#5BCFFC #5B7FFC #885BFC
triadic
#5B7FFC #FC5B7F #7FFC5B
tetradic
#5B7FFC #FC5BCF #FCD85B #5BFC88
square
#5B7FFC #FC5BCF #FCD85B #5BFC88
split-complementary
#5B7FFC #FC885B #CFFC5B
monochromatic
#0434D9 #1F50FB #5B7FFC #97AEFD #D3DDFE
Accessibility & contrast
On white
3.57
#5B7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#5B7FFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7FFC
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7FFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7FFC | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#0081F9
Tritanopia (blue-blind)
#009CB2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5b7ffc; /* rgb */ color: rgb(91, 127, 252); /* oklch */ color: oklch(63.5% 0.190 268.4);
Tailwind
colors: {
custom: {
50: '#98a3fe',
500: '#5b7ffc',
950: '#000000',
},
}SCSS
$custom: #5b7ffc; $custom-light: #98a3fe; $custom-dark: #000000;
JSON
{
"hex": "#5b7ffc",
"rgb": {
"r": 91,
"g": 127,
"b": 252
},
"hsl": {
"h": 226.584,
"s": 96.407,
"l": 67.255
},
"oklch": {
"l": 0.6346,
"c": 0.19,
"h": 268.4
},
"luminance": 0.24431
}Semantic roles & 50–950 ramp
primary
#5B7FFC
secondary
#F3E7C0
accent
#B200E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86