#5F77F0#5F77F0
#5F77F0 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.183 H 271.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77F0 |
|---|---|
| RGB | rgb(95, 119, 240) |
| HSL | hsl(230, 83%, 66%) |
| HSV | hsv(230, 60%, 94%) |
| CMYK | cmyk(60.4%, 50.4%, 0%, 5.9%) |
| CIE-LAB | lab(53.94, 27.39, -63.74) |
| CIE-LCH | lch(53.94, 69.37, 293.25°) |
| OKLab | oklab(61.32% 0.005 -0.1826) |
| OKLCH | oklch(61.32% 0.183 271.6) |
| XYZ | xyz(27.0391, 21.9156, 85.2264) |
| Luminance | 0.2192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.05
Lightish Blue
#3D7AFD
ΔE00 4.31
Cornflower Blue
#5170D7
ΔE00 4.62
Soft Blue
#6488EA
ΔE00 5.64
Clear Blue
#247AFD
ΔE00 6.03
Royal Blue
#4169E1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77F0 #F0D85F
analogous
#5FBFF0 #5F77F0 #8F5FF0
triadic
#5F77F0 #F05F77 #77F05F
tetradic
#5F77F0 #F05FBF #F0D85F #5FF08F
square
#5F77F0 #F05FBF #F0D85F #5FF08F
split-complementary
#5F77F0 #F08F5F #BFF05F
monochromatic
#122FC2 #2747EB #5F77F0 #97A7F5 #CFD6FA
Accessibility & contrast
On white
3.90
#5F77F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#5F77F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77F0
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77F0 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3388F4
Deuteranopia (green-blind)
#077BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f77f0; /* rgb */ color: rgb(95, 119, 240); /* oklch */ color: oklch(61.3% 0.183 271.6);
Tailwind
colors: {
custom: {
50: '#999df6',
500: '#5f77f0',
950: '#000000',
},
}SCSS
$custom: #5f77f0; $custom-light: #999df6; $custom-dark: #000000;
JSON
{
"hex": "#5f77f0",
"rgb": {
"r": 95,
"g": 119,
"b": 240
},
"hsl": {
"h": 230.069,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.61324,
"c": 0.18263,
"h": 271.6
},
"luminance": 0.21918
}Semantic roles & 50–950 ramp
primary
#5F77F0
secondary
#EEE6BD
accent
#BB06DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85