#5F76E2#5F76E2
#5F76E2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.165 H 271.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76E2 |
|---|---|
| RGB | rgb(95, 118, 226) |
| HSL | hsl(229, 69%, 63%) |
| HSV | hsv(229, 58%, 89%) |
| CMYK | cmyk(58%, 47.8%, 0%, 11.4%) |
| CIE-LAB | lab(52.82, 23.40, -57.71) |
| CIE-LCH | lch(52.82, 62.27, 292.07°) |
| OKLab | oklab(60.2% 0.0046 -0.1648) |
| OKLCH | oklch(60.2% 0.165 271.6) |
| XYZ | xyz(24.9207, 20.8788, 74.6535) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.23
Cornflower
#6A79F7
ΔE00 3.48
Lightish Blue
#3D7AFD
ΔE00 4.98
Royal Blue
#4169E1
ΔE00 5.41
Soft Blue
#6488EA
ΔE00 6.05
Clear Blue
#247AFD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76E2 #E2CB5F
analogous
#5FB7E2 #5F76E2 #8A5FE2
triadic
#5F76E2 #E25F76 #76E25F
tetradic
#5F76E2 #E25FB7 #E2CB5F #5FE28A
square
#5F76E2 #E25FB7 #E2CB5F #5FE28A
split-complementary
#5F76E2 #E28A5F #B7E25F
monochromatic
#1E37A8 #2B4AD9 #5F76E2 #93A2EB #C7CFF5
Accessibility & contrast
On white
4.06
#5F76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#5F76E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76E2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76E2 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#2B79E0
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f76e2; /* rgb */ color: rgb(95, 118, 226); /* oklch */ color: oklch(60.2% 0.165 271.6);
Tailwind
colors: {
custom: {
50: '#979dec',
500: '#5f76e2',
950: '#000000',
},
}SCSS
$custom: #5f76e2; $custom-light: #979dec; $custom-dark: #000000;
JSON
{
"hex": "#5f76e2",
"rgb": {
"r": 95,
"g": 118,
"b": 226
},
"hsl": {
"h": 229.466,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.60198,
"c": 0.1649,
"h": 271.6
},
"luminance": 0.20881
}Semantic roles & 50–950 ramp
primary
#5F76E2
secondary
#E6DEB7
accent
#B014D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84