#5F76EA#5F76EA
#5F76EA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.176 H 271.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76EA |
|---|---|
| RGB | rgb(95, 118, 234) |
| HSL | hsl(230, 77%, 65%) |
| HSV | hsv(230, 59%, 92%) |
| CMYK | cmyk(59.4%, 49.6%, 0%, 8.2%) |
| CIE-LAB | lab(53.31, 26.02, -61.40) |
| CIE-LCH | lch(53.31, 66.69, 292.97°) |
| OKLab | oklab(60.73% 0.0054 -0.1757) |
| OKLCH | oklch(60.73% 0.176 271.8) |
| XYZ | xyz(26.0441, 21.3282, 80.5702) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.63
Cornflower Blue
#5170D7
ΔE00 3.91
Lightish Blue
#3D7AFD
ΔE00 4.62
Royal Blue
#4169E1
ΔE00 5.70
Soft Blue
#6488EA
ΔE00 5.95
Clear Blue
#247AFD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76EA #EAD35F
analogous
#5FBCEA #5F76EA #8E5FEA
triadic
#5F76EA #EA5F76 #76EA5F
tetradic
#5F76EA #EA5FBC #EAD35F #5FEA8E
square
#5F76EA #EA5FBC #EAD35F #5FEA8E
split-complementary
#5F76EA #EA8E5F #BCEA5F
monochromatic
#1832B7 #2948E3 #5F76EA #95A4F1 #CBD3F8
Accessibility & contrast
On white
3.99
#5F76EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5F76EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76EA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76EA | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#1A79E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f76ea; /* rgb */ color: rgb(95, 118, 234); /* oklch */ color: oklch(60.7% 0.176 271.8);
Tailwind
colors: {
custom: {
50: '#989df1',
500: '#5f76ea',
950: '#000000',
},
}SCSS
$custom: #5f76ea; $custom-light: #989df1; $custom-dark: #000000;
JSON
{
"hex": "#5f76ea",
"rgb": {
"r": 95,
"g": 118,
"b": 234
},
"hsl": {
"h": 230.072,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.60727,
"c": 0.17579,
"h": 271.8
},
"luminance": 0.2133
}Semantic roles & 50–950 ramp
primary
#5F76EA
secondary
#EAE2BA
accent
#B70CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85