#5F76EB#5F76EB
#5F76EB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.177 H 271.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76EB |
|---|---|
| RGB | rgb(95, 118, 235) |
| HSL | hsl(230, 78%, 65%) |
| HSV | hsv(230, 60%, 92%) |
| CMYK | cmyk(59.6%, 49.8%, 0%, 7.8%) |
| CIE-LAB | lab(53.37, 26.35, -61.86) |
| CIE-LCH | lch(53.37, 67.24, 293.07°) |
| OKLab | oklab(60.79% 0.0055 -0.1771) |
| OKLCH | oklch(60.79% 0.177 271.8) |
| XYZ | xyz(26.1882, 21.3858, 81.3290) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.54
Cornflower Blue
#5170D7
ΔE00 4.00
Lightish Blue
#3D7AFD
ΔE00 4.59
Royal Blue
#4169E1
ΔE00 5.75
Soft Blue
#6488EA
ΔE00 5.95
Clear Blue
#247AFD
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76EB #EBD45F
analogous
#5FBCEB #5F76EB #8E5FEB
triadic
#5F76EB #EB5F76 #76EB5F
tetradic
#5F76EB #EB5FBC #EBD45F #5FEB8E
square
#5F76EB #EB5FBC #EBD45F #5FEB8E
split-complementary
#5F76EB #EB8E5F #BCEB5F
monochromatic
#1732B9 #2947E4 #5F76EB #95A5F2 #CCD3F9
Accessibility & contrast
On white
3.98
#5F76EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#5F76EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76EB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76EB | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#177AE9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f76eb; /* rgb */ color: rgb(95, 118, 235); /* oklch */ color: oklch(60.8% 0.177 271.8);
Tailwind
colors: {
custom: {
50: '#989df2',
500: '#5f76eb',
950: '#000000',
},
}SCSS
$custom: #5f76eb; $custom-light: #989df2; $custom-dark: #000000;
JSON
{
"hex": "#5f76eb",
"rgb": {
"r": 95,
"g": 118,
"b": 235
},
"hsl": {
"h": 230.143,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.60794,
"c": 0.17715,
"h": 271.8
},
"luminance": 0.21388
}Semantic roles & 50–950 ramp
primary
#5F76EB
secondary
#EBE3BB
accent
#B80BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85