#5F76E8#5F76E8
#5F76E8 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.173 H 271.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76E8 |
|---|---|
| RGB | rgb(95, 118, 232) |
| HSL | hsl(230, 75%, 64%) |
| HSV | hsv(230, 59%, 91%) |
| CMYK | cmyk(59.1%, 49.1%, 0%, 9%) |
| CIE-LAB | lab(53.18, 25.36, -60.48) |
| CIE-LCH | lch(53.18, 65.59, 292.75°) |
| OKLab | oklab(60.59% 0.0052 -0.173) |
| OKLCH | oklch(60.59% 0.173 271.7) |
| XYZ | xyz(25.7584, 21.2139, 79.0656) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.83
Cornflower Blue
#5170D7
ΔE00 3.72
Lightish Blue
#3D7AFD
ΔE00 4.69
Royal Blue
#4169E1
ΔE00 5.61
Soft Blue
#6488EA
ΔE00 5.96
Clear Blue
#247AFD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76E8 #E8D15F
analogous
#5FBBE8 #5F76E8 #8D5FE8
triadic
#5F76E8 #E85F76 #76E85F
tetradic
#5F76E8 #E85FBB #E8D15F #5FE88D
square
#5F76E8 #E85FBB #E8D15F #5FE88D
split-complementary
#5F76E8 #E88D5F #BBE85F
monochromatic
#1A33B3 #2948E0 #5F76E8 #95A4F0 #CAD2F7
Accessibility & contrast
On white
4.01
#5F76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#5F76E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76E8
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76E8 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#1F79E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f76e8; /* rgb */ color: rgb(95, 118, 232); /* oklch */ color: oklch(60.6% 0.173 271.7);
Tailwind
colors: {
custom: {
50: '#989df0',
500: '#5f76e8',
950: '#000000',
},
}SCSS
$custom: #5f76e8; $custom-light: #989df0; $custom-dark: #000000;
JSON
{
"hex": "#5f76e8",
"rgb": {
"r": 95,
"g": 118,
"b": 232
},
"hsl": {
"h": 229.927,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.60593,
"c": 0.17308,
"h": 271.7
},
"luminance": 0.21216
}Semantic roles & 50–950 ramp
primary
#5F76E8
secondary
#E9E1BA
accent
#B50ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85