#5B76EC#5B76EC
#5B76EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.180 H 270.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5B76EC |
|---|---|
| RGB | rgb(91, 118, 236) |
| HSL | hsl(229, 79%, 64%) |
| HSV | hsv(229, 61%, 93%) |
| CMYK | cmyk(61.4%, 50%, 0%, 7.5%) |
| CIE-LAB | lab(53.21, 25.98, -62.70) |
| CIE-LCH | lch(53.21, 67.86, 292.50°) |
| OKLab | oklab(60.63% 0.0016 -0.1796) |
| OKLCH | oklch(60.63% 0.18 270.5) |
| XYZ | xyz(25.9281, 21.2349, 82.0730) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.93
Cornflower Blue
#5170D7
ΔE00 3.78
Lightish Blue
#3D7AFD
ΔE00 4.04
Royal Blue
#4169E1
ΔE00 5.46
Clear Blue
#247AFD
ΔE00 5.62
Soft Blue
#6488EA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B76EC #ECD15B
analogous
#5BBEEC #5B76EC #895BEC
triadic
#5B76EC #EC5B76 #76EC5B
tetradic
#5B76EC #EC5BBE #ECD15B #5BEC89
square
#5B76EC #EC5BBE #ECD15B #5BEC89
split-complementary
#5B76EC #EC895B #BEEC5B
monochromatic
#1533B7 #2448E6 #5B76EC #92A4F2 #C9D2F9
Accessibility & contrast
On white
4.00
#5B76EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5B76EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B76EC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B76EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B76EC | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#0A79EA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b76ec; /* rgb */ color: rgb(91, 118, 236); /* oklch */ color: oklch(60.6% 0.180 270.5);
Tailwind
colors: {
custom: {
50: '#969df3',
500: '#5b76ec',
950: '#000000',
},
}SCSS
$custom: #5b76ec; $custom-light: #969df3; $custom-dark: #000000;
JSON
{
"hex": "#5b76ec",
"rgb": {
"r": 91,
"g": 118,
"b": 236
},
"hsl": {
"h": 228.828,
"s": 79.235,
"l": 64.118
},
"oklch": {
"l": 0.60631,
"c": 0.17961,
"h": 270.5
},
"luminance": 0.21237
}Semantic roles & 50–950 ramp
primary
#5B76EC
secondary
#EBE1B8
accent
#B50ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85