#5F77CF#5F77CF
#5F77CF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.137 H 270.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77CF |
|---|---|
| RGB | rgb(95, 119, 207) |
| HSL | hsl(227, 54%, 59%) |
| HSV | hsv(227, 54%, 81%) |
| CMYK | cmyk(54.1%, 42.5%, 0%, 18.8%) |
| CIE-LAB | lab(51.98, 16.61, -48.30) |
| CIE-LCH | lch(51.98, 51.08, 288.98°) |
| OKLab | oklab(59.21% 0.0007 -0.1372) |
| OKLCH | oklch(59.21% 0.137 270.3) |
| XYZ | xyz(22.5749, 20.1299, 61.7153) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.01
Cornflower
#6A79F7
ΔE00 5.73
Royal Blue
#4169E1
ΔE00 5.80
Lightish Blue
#3D7AFD
ΔE00 6.28
Soft Blue
#6488EA
ΔE00 6.57
Clear Blue
#247AFD
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77CF #CFB75F
analogous
#5FAFCF #5F77CF #7F5FCF
triadic
#5F77CF #CF5F77 #77CF5F
tetradic
#5F77CF #CF5FAF #CFB75F #5FCF7F
square
#5F77CF #CF5FAF #CFB75F #5FCF7F
split-complementary
#5F77CF #CF7F5F #AFCF5F
monochromatic
#293E8A #3853B9 #5F77CF #8E9FDD #BDC7EB
Accessibility & contrast
On white
4.18
#5F77CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#5F77CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77CF
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77CF | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#248A99
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f77cf; /* rgb */ color: rgb(95, 119, 207); /* oklch */ color: oklch(59.2% 0.137 270.3);
Tailwind
colors: {
custom: {
50: '#949dde',
500: '#5f77cf',
950: '#000000',
},
}SCSS
$custom: #5f77cf; $custom-light: #949dde; $custom-dark: #000000;
JSON
{
"hex": "#5f77cf",
"rgb": {
"r": 95,
"g": 119,
"b": 207
},
"hsl": {
"h": 227.143,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.59208,
"c": 0.13721,
"h": 270.3
},
"luminance": 0.20132
}Semantic roles & 50–950 ramp
primary
#5F77CF
secondary
#DBD1AF
accent
#BE4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83