#5F77DE#5F77DE
#5F77DE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.158 H 271.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77DE |
|---|---|
| RGB | rgb(95, 119, 222) |
| HSL | hsl(229, 66%, 62%) |
| HSV | hsv(229, 57%, 87%) |
| CMYK | cmyk(57.2%, 46.4%, 0%, 12.9%) |
| CIE-LAB | lab(52.84, 21.48, -55.42) |
| CIE-LCH | lch(52.84, 59.44, 291.18°) |
| OKLab | oklab(60.14% 0.003 -0.1581) |
| OKLCH | oklch(60.14% 0.158 271.1) |
| XYZ | xyz(24.4966, 20.8986, 71.8360) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.15
Cornflower
#6A79F7
ΔE00 3.91
Lightish Blue
#3D7AFD
ΔE00 5.05
Royal Blue
#4169E1
ΔE00 5.57
Soft Blue
#6488EA
ΔE00 5.82
Clear Blue
#247AFD
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77DE #DEC65F
analogous
#5FB7DE #5F77DE #865FDE
triadic
#5F77DE #DE5F77 #77DE5F
tetradic
#5F77DE #DE5FB7 #DEC65F #5FDE86
square
#5F77DE #DE5FB7 #DEC65F #5FDE86
split-complementary
#5F77DE #DE865F #B7DE5F
monochromatic
#2139A1 #2C4CD4 #5F77DE #92A2E8 #C4CDF3
Accessibility & contrast
On white
4.05
#5F77DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#5F77DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77DE
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77DE | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4684E2
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f77de; /* rgb */ color: rgb(95, 119, 222); /* oklch */ color: oklch(60.1% 0.158 271.1);
Tailwind
colors: {
custom: {
50: '#969de9',
500: '#5f77de',
950: '#000000',
},
}SCSS
$custom: #5f77de; $custom-light: #969de9; $custom-dark: #000000;
JSON
{
"hex": "#5f77de",
"rgb": {
"r": 95,
"g": 119,
"b": 222
},
"hsl": {
"h": 228.661,
"s": 65.803,
"l": 62.157
},
"oklch": {
"l": 0.60138,
"c": 0.15814,
"h": 271.1
},
"luminance": 0.209
}Semantic roles & 50–950 ramp
primary
#5F77DE
secondary
#E4DBB5
accent
#AB18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84