#5B7BED#5B7BED
#5B7BED is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.175 H 269.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7BED |
|---|---|
| RGB | rgb(91, 123, 237) |
| HSL | hsl(227, 80%, 64%) |
| HSV | hsv(227, 62%, 93%) |
| CMYK | cmyk(61.6%, 48.1%, 0%, 7.1%) |
| CIE-LAB | lab(54.56, 23.25, -61.08) |
| CIE-LCH | lch(54.56, 65.36, 290.84°) |
| OKLab | oklab(61.68% -0.003 -0.1748) |
| OKLCH | oklch(61.68% 0.175 269) |
| XYZ | xyz(26.6782, 22.5022, 83.0418) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.18
Lightish Blue
#3D7AFD
ΔE00 3.25
Soft Blue
#6488EA
ΔE00 4.17
Dodger Blue
#3E82FC
ΔE00 4.69
Cornflower Blue
#5170D7
ΔE00 4.83
Clear Blue
#247AFD
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7BED #EDCD5B
analogous
#5BC4ED #5B7BED #845BED
triadic
#5B7BED #ED5B7B #7BED5B
tetradic
#5B7BED #ED5BC4 #EDCD5B #5BED84
square
#5B7BED #ED5BC4 #EDCD5B #5BED84
split-complementary
#5B7BED #ED845B #C4ED5B
monochromatic
#1438B9 #244FE7 #5B7BED #92A7F3 #C9D4F9
Accessibility & contrast
On white
3.82
#5B7BED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#5B7BED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7BED
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7BED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7BED | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4089F1
Deuteranopia (green-blind)
#227CEB
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5b7bed; /* rgb */ color: rgb(91, 123, 237); /* oklch */ color: oklch(61.7% 0.175 269.0);
Tailwind
colors: {
custom: {
50: '#96a0f3',
500: '#5b7bed',
950: '#000000',
},
}SCSS
$custom: #5b7bed; $custom-light: #96a0f3; $custom-dark: #000000;
JSON
{
"hex": "#5b7bed",
"rgb": {
"r": 91,
"g": 123,
"b": 237
},
"hsl": {
"h": 226.849,
"s": 80.22,
"l": 64.314
},
"oklch": {
"l": 0.61675,
"c": 0.17481,
"h": 269
},
"luminance": 0.22504
}Semantic roles & 50–950 ramp
primary
#5B7BED
secondary
#EBE0B9
accent
#AE09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85