#5B77EB#5B77EB
#5B77EB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.177 H 270.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5B77EB |
|---|---|
| RGB | rgb(91, 119, 235) |
| HSL | hsl(228, 78%, 64%) |
| HSV | hsv(228, 61%, 92%) |
| CMYK | cmyk(61.3%, 49.4%, 0%, 7.8%) |
| CIE-LAB | lab(53.40, 25.03, -61.83) |
| CIE-LCH | lch(53.40, 66.70, 292.04°) |
| OKLab | oklab(60.76% 0.0006 -0.177) |
| OKLCH | oklch(60.76% 0.177 270.2) |
| XYZ | xyz(25.9016, 21.4138, 81.3495) |
| Luminance | 0.2142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.00
Cornflower Blue
#5170D7
ΔE00 3.83
Lightish Blue
#3D7AFD
ΔE00 3.87
Clear Blue
#247AFD
ΔE00 5.44
Soft Blue
#6488EA
ΔE00 5.51
Royal Blue
#4169E1
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B77EB #EBCF5B
analogous
#5BBFEB #5B77EB #875BEB
triadic
#5B77EB #EB5B77 #77EB5B
tetradic
#5B77EB #EB5BBF #EBCF5B #5BEB87
square
#5B77EB #EB5BBF #EBCF5B #5BEB87
split-complementary
#5B77EB #EB875B #BFEB5B
monochromatic
#1635B5 #244AE4 #5B77EB #92A4F2 #C8D1F8
Accessibility & contrast
On white
3.97
#5B77EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#5B77EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B77EB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B77EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B77EB | 1.00 | 3.97 | 5.28 | 5.28 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#1679E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5b77eb; /* rgb */ color: rgb(91, 119, 235); /* oklch */ color: oklch(60.8% 0.177 270.2);
Tailwind
colors: {
custom: {
50: '#969df2',
500: '#5b77eb',
950: '#000000',
},
}SCSS
$custom: #5b77eb; $custom-light: #969df2; $custom-dark: #000000;
JSON
{
"hex": "#5b77eb",
"rgb": {
"r": 91,
"g": 119,
"b": 235
},
"hsl": {
"h": 228.333,
"s": 78.261,
"l": 63.922
},
"oklch": {
"l": 0.60757,
"c": 0.17702,
"h": 270.2
},
"luminance": 0.21416
}Semantic roles & 50–950 ramp
primary
#5B77EB
secondary
#EAE0B8
accent
#B20BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85