#5B77EA#5B77EA
#5B77EA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.176 H 270.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5B77EA |
|---|---|
| RGB | rgb(91, 119, 234) |
| HSL | hsl(228, 77%, 64%) |
| HSV | hsv(228, 61%, 92%) |
| CMYK | cmyk(61.1%, 49.1%, 0%, 8.2%) |
| CIE-LAB | lab(53.34, 24.70, -61.37) |
| CIE-LCH | lch(53.34, 66.15, 291.92°) |
| OKLab | oklab(60.69% 0.0005 -0.1757) |
| OKLCH | oklch(60.69% 0.176 270.2) |
| XYZ | xyz(25.7575, 21.3561, 80.5907) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.09
Cornflower Blue
#5170D7
ΔE00 3.74
Lightish Blue
#3D7AFD
ΔE00 3.90
Clear Blue
#247AFD
ΔE00 5.45
Soft Blue
#6488EA
ΔE00 5.52
Royal Blue
#4169E1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B77EA #EACE5B
analogous
#5BBEEA #5B77EA #865BEA
triadic
#5B77EA #EA5B77 #77EA5B
tetradic
#5B77EA #EA5BBE #EACE5B #5BEA86
square
#5B77EA #EA5BBE #EACE5B #5BEA86
split-complementary
#5B77EA #EA865B #BEEA5B
monochromatic
#1736B4 #254AE3 #5B77EA #91A4F1 #C8D1F8
Accessibility & contrast
On white
3.98
#5B77EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5B77EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B77EA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B77EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B77EA | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#1979E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b77ea; /* rgb */ color: rgb(91, 119, 234); /* oklch */ color: oklch(60.7% 0.176 270.2);
Tailwind
colors: {
custom: {
50: '#969df1',
500: '#5b77ea',
950: '#000000',
},
}SCSS
$custom: #5b77ea; $custom-light: #969df1; $custom-dark: #000000;
JSON
{
"hex": "#5b77ea",
"rgb": {
"r": 91,
"g": 119,
"b": 234
},
"hsl": {
"h": 228.252,
"s": 77.297,
"l": 63.725
},
"oklch": {
"l": 0.6069,
"c": 0.17567,
"h": 270.2
},
"luminance": 0.21358
}Semantic roles & 50–950 ramp
primary
#5B77EA
secondary
#EAE0B7
accent
#B10CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85