#5F77EB#5F77EB
#5F77EB is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.176 H 271.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77EB |
|---|---|
| RGB | rgb(95, 119, 235) |
| HSL | hsl(230, 78%, 65%) |
| HSV | hsv(230, 60%, 92%) |
| CMYK | cmyk(59.6%, 49.4%, 0%, 7.8%) |
| CIE-LAB | lab(53.62, 25.74, -61.45) |
| CIE-LCH | lch(53.62, 66.63, 292.73°) |
| OKLab | oklab(60.99% 0.0046 -0.1758) |
| OKLCH | oklch(60.99% 0.176 271.5) |
| XYZ | xyz(26.3065, 21.6226, 81.3684) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.49
Cornflower Blue
#5170D7
ΔE00 4.13
Lightish Blue
#3D7AFD
ΔE00 4.41
Soft Blue
#6488EA
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 5.96
Clear Blue
#247AFD
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77EB #EBD35F
analogous
#5FBDEB #5F77EB #8D5FEB
triadic
#5F77EB #EB5F77 #77EB5F
tetradic
#5F77EB #EB5FBD #EBD35F #5FEB8D
square
#5F77EB #EB5FBD #EBD35F #5FEB8D
split-complementary
#5F77EB #EB8D5F #BDEB5F
monochromatic
#1733B9 #2949E4 #5F77EB #95A5F2 #CCD3F9
Accessibility & contrast
On white
3.94
#5F77EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#5F77EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77EB
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77EB | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#1C7AE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f77eb; /* rgb */ color: rgb(95, 119, 235); /* oklch */ color: oklch(61.0% 0.176 271.5);
Tailwind
colors: {
custom: {
50: '#989df2',
500: '#5f77eb',
950: '#000000',
},
}SCSS
$custom: #5f77eb; $custom-light: #989df2; $custom-dark: #000000;
JSON
{
"hex": "#5f77eb",
"rgb": {
"r": 95,
"g": 119,
"b": 235
},
"hsl": {
"h": 229.714,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.60987,
"c": 0.1759,
"h": 271.5
},
"luminance": 0.21625
}Semantic roles & 50–950 ramp
primary
#5F77EB
secondary
#EBE3BB
accent
#B70BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85