#5F77DF#5F77DF
#5F77DF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.160 H 271.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77DF |
|---|---|
| RGB | rgb(95, 119, 223) |
| HSL | hsl(229, 67%, 62%) |
| HSV | hsv(229, 57%, 87%) |
| CMYK | cmyk(57.4%, 46.6%, 0%, 12.5%) |
| CIE-LAB | lab(52.90, 21.80, -55.89) |
| CIE-LCH | lch(52.90, 59.99, 291.31°) |
| OKLab | oklab(60.2% 0.0032 -0.1595) |
| OKLCH | oklch(60.2% 0.16 271.1) |
| XYZ | xyz(24.6310, 20.9524, 72.5440) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.20
Cornflower
#6A79F7
ΔE00 3.79
Lightish Blue
#3D7AFD
ΔE00 4.98
Royal Blue
#4169E1
ΔE00 5.58
Soft Blue
#6488EA
ΔE00 5.79
Clear Blue
#247AFD
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77DF #DFC75F
analogous
#5FB7DF #5F77DF #875FDF
triadic
#5F77DF #DF5F77 #77DF5F
tetradic
#5F77DF #DF5FB7 #DFC75F #5FDF87
square
#5F77DF #DF5FB7 #DFC75F #5FDF87
split-complementary
#5F77DF #DF875F #B7DF5F
monochromatic
#2139A3 #2C4CD5 #5F77DF #92A2E9 #C5CEF3
Accessibility & contrast
On white
4.05
#5F77DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5F77DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77DF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77DF | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f77df; /* rgb */ color: rgb(95, 119, 223); /* oklch */ color: oklch(60.2% 0.160 271.1);
Tailwind
colors: {
custom: {
50: '#969de9',
500: '#5f77df',
950: '#000000',
},
}SCSS
$custom: #5f77df; $custom-light: #969de9; $custom-dark: #000000;
JSON
{
"hex": "#5f77df",
"rgb": {
"r": 95,
"g": 119,
"b": 223
},
"hsl": {
"h": 228.75,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.60202,
"c": 0.15952,
"h": 271.1
},
"luminance": 0.20954
}Semantic roles & 50–950 ramp
primary
#5F77DF
secondary
#E4DCB6
accent
#AC17CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84