#5F76E4#5F76E4
#5F76E4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.168 H 271.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76E4 |
|---|---|
| RGB | rgb(95, 118, 228) |
| HSL | hsl(230, 71%, 63%) |
| HSV | hsv(230, 58%, 89%) |
| CMYK | cmyk(58.3%, 48.2%, 0%, 10.6%) |
| CIE-LAB | lab(52.94, 24.05, -58.64) |
| CIE-LCH | lch(52.94, 63.38, 292.30°) |
| OKLab | oklab(60.33% 0.0048 -0.1676) |
| OKLCH | oklch(60.33% 0.168 271.6) |
| XYZ | xyz(25.1967, 20.9892, 76.1073) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.26
Cornflower Blue
#5170D7
ΔE00 3.38
Lightish Blue
#3D7AFD
ΔE00 4.87
Royal Blue
#4169E1
ΔE00 5.47
Soft Blue
#6488EA
ΔE00 6.01
Clear Blue
#247AFD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76E4 #E4CD5F
analogous
#5FB8E4 #5F76E4 #8A5FE4
triadic
#5F76E4 #E45F76 #76E45F
tetradic
#5F76E4 #E45FB8 #E4CD5F #5FE48A
square
#5F76E4 #E45FB8 #E4CD5F #5FE48A
split-complementary
#5F76E4 #E48A5F #B8E45F
monochromatic
#1D36AC #2B49DB #5F76E4 #93A3ED #C8D0F6
Accessibility & contrast
On white
4.04
#5F76E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5F76E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76E4
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76E4 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F84E8
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f76e4; /* rgb */ color: rgb(95, 118, 228); /* oklch */ color: oklch(60.3% 0.168 271.6);
Tailwind
colors: {
custom: {
50: '#979ded',
500: '#5f76e4',
950: '#000000',
},
}SCSS
$custom: #5f76e4; $custom-light: #979ded; $custom-dark: #000000;
JSON
{
"hex": "#5f76e4",
"rgb": {
"r": 95,
"g": 118,
"b": 228
},
"hsl": {
"h": 229.624,
"s": 71.123,
"l": 63.333
},
"oklch": {
"l": 0.60329,
"c": 0.16764,
"h": 271.6
},
"luminance": 0.20991
}Semantic roles & 50–950 ramp
primary
#5F76E4
secondary
#E7DFB8
accent
#B212D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84