#5F77ED#5F77ED
#5F77ED is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.179 H 271.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77ED |
|---|---|
| RGB | rgb(95, 119, 237) |
| HSL | hsl(230, 80%, 65%) |
| HSV | hsv(230, 60%, 93%) |
| CMYK | cmyk(59.9%, 49.8%, 0%, 7.1%) |
| CIE-LAB | lab(53.75, 26.40, -62.37) |
| CIE-LCH | lch(53.75, 67.73, 292.94°) |
| OKLab | oklab(61.12% 0.0048 -0.1785) |
| OKLCH | oklch(61.12% 0.179 271.5) |
| XYZ | xyz(26.5971, 21.7388, 82.8988) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.31
Cornflower Blue
#5170D7
ΔE00 4.32
Lightish Blue
#3D7AFD
ΔE00 4.35
Soft Blue
#6488EA
ΔE00 5.61
Clear Blue
#247AFD
ΔE00 6.02
Royal Blue
#4169E1
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77ED #EDD55F
analogous
#5FBEED #5F77ED #8E5FED
triadic
#5F77ED #ED5F77 #77ED5F
tetradic
#5F77ED #ED5FBE #EDD55F #5FED8E
square
#5F77ED #ED5FBE #EDD55F #5FED8E
split-complementary
#5F77ED #ED8E5F #BEED5F
monochromatic
#1531BC #2848E7 #5F77ED #96A6F3 #CDD5F9
Accessibility & contrast
On white
3.93
#5F77ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5F77ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77ED
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77ED | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#157AEB
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f77ed; /* rgb */ color: rgb(95, 119, 237); /* oklch */ color: oklch(61.1% 0.179 271.5);
Tailwind
colors: {
custom: {
50: '#989df3',
500: '#5f77ed',
950: '#000000',
},
}SCSS
$custom: #5f77ed; $custom-light: #989df3; $custom-dark: #000000;
JSON
{
"hex": "#5f77ed",
"rgb": {
"r": 95,
"g": 119,
"b": 237
},
"hsl": {
"h": 229.859,
"s": 79.775,
"l": 65.098
},
"oklch": {
"l": 0.61121,
"c": 0.17859,
"h": 271.5
},
"luminance": 0.21741
}Semantic roles & 50–950 ramp
primary
#5F77ED
secondary
#ECE4BC
accent
#B809DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85