#5B7DFB#5B7DFB
#5B7DFB is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.191 H 269.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7DFB |
|---|---|
| RGB | rgb(91, 125, 251) |
| HSL | hsl(227, 95%, 67%) |
| HSV | hsv(227, 64%, 98%) |
| CMYK | cmyk(63.7%, 50.2%, 0%, 1.6%) |
| CIE-LAB | lab(55.94, 26.73, -66.62) |
| CIE-LCH | lch(55.94, 71.78, 291.86°) |
| OKLab | oklab(63.01% -0.0034 -0.191) |
| OKLCH | oklch(63.01% 0.191 269) |
| XYZ | xyz(29.0547, 23.8538, 94.3212) |
| Luminance | 0.2386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.22
Soft Blue
#6488EA
ΔE00 3.94
Dodger Blue
#3E82FC
ΔE00 4.34
Clear Blue
#247AFD
ΔE00 5.01
Deep Sky Blue
#0D75F8
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7DFB #FBD95B
analogous
#5BCDFB #5B7DFB #895BFB
triadic
#5B7DFB #FB5B7D #7DFB5B
tetradic
#5B7DFB #FB5BCD #FBD95B #5BFB89
square
#5B7DFB #FB5BCD #FBD95B #5BFB89
split-complementary
#5B7DFB #FB895B #CDFB5B
monochromatic
#0532D6 #1F4EFA #5B7DFB #97ACFC #D2DCFE
Accessibility & contrast
On white
3.64
#5B7DFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#5B7DFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7DFB
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7DFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7DFB | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#009AB0
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5b7dfb; /* rgb */ color: rgb(91, 125, 251); /* oklch */ color: oklch(63.0% 0.191 269.0);
Tailwind
colors: {
custom: {
50: '#98a2fd',
500: '#5b7dfb',
950: '#000000',
},
}SCSS
$custom: #5b7dfb; $custom-light: #98a2fd; $custom-dark: #000000;
JSON
{
"hex": "#5b7dfb",
"rgb": {
"r": 91,
"g": 125,
"b": 251
},
"hsl": {
"h": 227.25,
"s": 95.238,
"l": 67.059
},
"oklch": {
"l": 0.63005,
"c": 0.19108,
"h": 269
},
"luminance": 0.23856
}Semantic roles & 50–950 ramp
primary
#5B7DFB
secondary
#F2E8C0
accent
#B500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86