#5B7EE5#5B7EE5
#5B7EE5 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.160 H 267.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7EE5 |
|---|---|
| RGB | rgb(91, 126, 229) |
| HSL | hsl(225, 73%, 63%) |
| HSV | hsv(225, 60%, 90%) |
| CMYK | cmyk(60.3%, 45%, 0%, 10.2%) |
| CIE-LAB | lab(54.87, 18.75, -56.12) |
| CIE-LCH | lch(54.87, 59.17, 288.48°) |
| OKLab | oklab(61.76% -0.0071 -0.1601) |
| OKLCH | oklch(61.76% 0.16 267.5) |
| XYZ | xyz(25.9133, 22.8008, 77.1490) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.28
Lightish Blue
#3D7AFD
ΔE00 3.50
Dodger Blue
#3E82FC
ΔE00 4.14
Cornflower
#6A79F7
ΔE00 4.40
Clear Blue
#247AFD
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7EE5 #E5C25B
analogous
#5BC3E5 #5B7EE5 #7D5BE5
triadic
#5B7EE5 #E55B7E #7EE55B
tetradic
#5B7EE5 #E55BC3 #E5C25B #5BE57D
square
#5B7EE5 #E55BC3 #E5C25B #5BE57D
split-complementary
#5B7EE5 #E57D5B #C3E55B
monochromatic
#1B3FAB #2654DD #5B7EE5 #90A8ED #C5D1F6
Accessibility & contrast
On white
3.78
#5B7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#5B7EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7EE5
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7EE5 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#387DE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5b7ee5; /* rgb */ color: rgb(91, 126, 229); /* oklch */ color: oklch(61.8% 0.160 267.5);
Tailwind
colors: {
custom: {
50: '#95a2ee',
500: '#5b7ee5',
950: '#000000',
},
}SCSS
$custom: #5b7ee5; $custom-light: #95a2ee; $custom-dark: #000000;
JSON
{
"hex": "#5b7ee5",
"rgb": {
"r": 91,
"g": 126,
"b": 229
},
"hsl": {
"h": 224.783,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.61759,
"c": 0.16031,
"h": 267.5
},
"luminance": 0.22803
}Semantic roles & 50–950 ramp
primary
#5B7EE5
secondary
#E7DAB5
accent
#A311D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84