#5F76DC#5F76DC
#5F76DC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.157 H 271.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76DC |
|---|---|
| RGB | rgb(95, 118, 220) |
| HSL | hsl(229, 64%, 62%) |
| HSV | hsv(229, 57%, 86%) |
| CMYK | cmyk(56.8%, 46.4%, 0%, 13.7%) |
| CIE-LAB | lab(52.46, 21.44, -54.90) |
| CIE-LCH | lch(52.46, 58.94, 291.33°) |
| OKLab | oklab(59.81% 0.0038 -0.1566) |
| OKLCH | oklch(59.81% 0.157 271.4) |
| XYZ | xyz(24.1118, 20.5552, 70.3932) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.86
Cornflower
#6A79F7
ΔE00 4.17
Royal Blue
#4169E1
ΔE00 5.33
Lightish Blue
#3D7AFD
ΔE00 5.36
Soft Blue
#6488EA
ΔE00 6.23
Clear Blue
#247AFD
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76DC #DCC55F
analogous
#5FB5DC #5F76DC #875FDC
triadic
#5F76DC #DC5F76 #76DC5F
tetradic
#5F76DC #DC5FB5 #DCC55F #5FDC87
square
#5F76DC #DC5FB5 #DCC55F #5FDC87
split-complementary
#5F76DC #DC875F #B5DC5F
monochromatic
#23399E #2E4BD0 #5F76DC #91A1E7 #C3CCF2
Accessibility & contrast
On white
4.11
#5F76DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#5F76DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76DC
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76DC | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#068D9E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f76dc; /* rgb */ color: rgb(95, 118, 220); /* oklch */ color: oklch(59.8% 0.157 271.4);
Tailwind
colors: {
custom: {
50: '#969de7',
500: '#5f76dc',
950: '#000000',
},
}SCSS
$custom: #5f76dc; $custom-light: #969de7; $custom-dark: #000000;
JSON
{
"hex": "#5f76dc",
"rgb": {
"r": 95,
"g": 118,
"b": 220
},
"hsl": {
"h": 228.96,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.59811,
"c": 0.15664,
"h": 271.4
},
"luminance": 0.20557
}Semantic roles & 50–950 ramp
primary
#5F76DC
secondary
#E3DAB4
accent
#AB1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84