#5F76E1#5F76E1
#5F76E1 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.1% C 0.164 H 271.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76E1 |
|---|---|
| RGB | rgb(95, 118, 225) |
| HSL | hsl(229, 68%, 63%) |
| HSV | hsv(229, 58%, 88%) |
| CMYK | cmyk(57.8%, 47.6%, 0%, 11.8%) |
| CIE-LAB | lab(52.76, 23.07, -57.24) |
| CIE-LCH | lch(52.76, 61.72, 291.95°) |
| OKLab | oklab(60.13% 0.0045 -0.1635) |
| OKLCH | oklch(60.13% 0.164 271.6) |
| XYZ | xyz(24.7839, 20.8241, 73.9330) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.16
Cornflower
#6A79F7
ΔE00 3.59
Lightish Blue
#3D7AFD
ΔE00 5.03
Royal Blue
#4169E1
ΔE00 5.39
Soft Blue
#6488EA
ΔE00 6.08
Clear Blue
#247AFD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76E1 #E1CA5F
analogous
#5FB7E1 #5F76E1 #895FE1
triadic
#5F76E1 #E15F76 #76E15F
tetradic
#5F76E1 #E15FB7 #E1CA5F #5FE189
square
#5F76E1 #E15FB7 #E1CA5F #5FE189
split-complementary
#5F76E1 #E1895F #B7E15F
monochromatic
#1F37A6 #2B4AD7 #5F76E1 #93A2EB #C6CEF4
Accessibility & contrast
On white
4.07
#5F76E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#5F76E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76E1
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76E1 | 1.00 | 4.07 | 5.17 | 5.17 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f76e1; /* rgb */ color: rgb(95, 118, 225); /* oklch */ color: oklch(60.1% 0.164 271.6);
Tailwind
colors: {
custom: {
50: '#969deb',
500: '#5f76e1',
950: '#000000',
},
}SCSS
$custom: #5f76e1; $custom-light: #969deb; $custom-dark: #000000;
JSON
{
"hex": "#5f76e1",
"rgb": {
"r": 95,
"g": 118,
"b": 225
},
"hsl": {
"h": 229.385,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.60133,
"c": 0.16353,
"h": 271.6
},
"luminance": 0.20826
}Semantic roles & 50–950 ramp
primary
#5F76E1
secondary
#E5DDB6
accent
#AF15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84