#5B7FF4#5B7FF4
#5B7FF4 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.179 H 268.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7FF4 |
|---|---|
| RGB | rgb(91, 127, 244) |
| HSL | hsl(226, 87%, 66%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(62.7%, 48%, 0%, 4.3%) |
| CIE-LAB | lab(56.02, 23.16, -62.62) |
| CIE-LCH | lch(56.02, 66.76, 290.30°) |
| OKLab | oklab(62.93% -0.006 -0.1792) |
| OKLCH | oklch(62.93% 0.179 268.1) |
| XYZ | xyz(28.2273, 23.9320, 88.7022) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.03
Lightish Blue
#3D7AFD
ΔE00 3.11
Cornflower
#6A79F7
ΔE00 3.63
Dodger Blue
#3E82FC
ΔE00 3.74
Clear Blue
#247AFD
ΔE00 4.72
Azure
#007FFF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7FF4 #F4D05B
analogous
#5BCCF4 #5B7FF4 #835BF4
triadic
#5B7FF4 #F45B7F #7FF45B
tetradic
#5B7FF4 #F45BCC #F4D05B #5BF483
square
#5B7FF4 #F45BCC #F4D05B #5BF483
split-complementary
#5B7FF4 #F4835B #CCF45B
monochromatic
#0D39C7 #2252F0 #5B7FF4 #94ACF8 #CED9FC
Accessibility & contrast
On white
3.63
#5B7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5B7FF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7FF4
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7FF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7FF4 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#2180F2
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5b7ff4; /* rgb */ color: rgb(91, 127, 244); /* oklch */ color: oklch(62.9% 0.179 268.1);
Tailwind
colors: {
custom: {
50: '#97a3f8',
500: '#5b7ff4',
950: '#000000',
},
}SCSS
$custom: #5b7ff4; $custom-light: #97a3f8; $custom-dark: #000000;
JSON
{
"hex": "#5b7ff4",
"rgb": {
"r": 91,
"g": 127,
"b": 244
},
"hsl": {
"h": 225.882,
"s": 87.429,
"l": 65.686
},
"oklch": {
"l": 0.62926,
"c": 0.17935,
"h": 268.1
},
"luminance": 0.23935
}Semantic roles & 50–950 ramp
primary
#5B7FF4
secondary
#EFE3BC
accent
#AF02E4
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85