#5F76DD#5F76DD
#5F76DD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.158 H 271.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76DD |
|---|---|
| RGB | rgb(95, 118, 221) |
| HSL | hsl(229, 65%, 62%) |
| HSV | hsv(229, 57%, 87%) |
| CMYK | cmyk(57%, 46.6%, 0%, 13.3%) |
| CIE-LAB | lab(52.52, 21.76, -55.37) |
| CIE-LCH | lch(52.52, 59.50, 291.46°) |
| OKLab | oklab(59.88% 0.004 -0.158) |
| OKLCH | oklch(59.88% 0.158 271.4) |
| XYZ | xyz(24.2446, 20.6084, 71.0928) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.91
Cornflower
#6A79F7
ΔE00 4.05
Lightish Blue
#3D7AFD
ΔE00 5.29
Royal Blue
#4169E1
ΔE00 5.33
Soft Blue
#6488EA
ΔE00 6.19
Clear Blue
#247AFD
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76DD #DDC65F
analogous
#5FB5DD #5F76DD #875FDD
triadic
#5F76DD #DD5F76 #76DD5F
tetradic
#5F76DD #DD5FB5 #DDC65F #5FDD87
square
#5F76DD #DD5FB5 #DDC65F #5FDD87
split-complementary
#5F76DD #DD875F #B5DD5F
monochromatic
#2239A0 #2D4BD2 #5F76DD #91A1E8 #C4CCF2
Accessibility & contrast
On white
4.10
#5F76DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#5F76DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76DD
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76DD | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#028D9F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f76dd; /* rgb */ color: rgb(95, 118, 221); /* oklch */ color: oklch(59.9% 0.158 271.4);
Tailwind
colors: {
custom: {
50: '#969de8',
500: '#5f76dd',
950: '#000000',
},
}SCSS
$custom: #5f76dd; $custom-light: #969de8; $custom-dark: #000000;
JSON
{
"hex": "#5f76dd",
"rgb": {
"r": 95,
"g": 118,
"b": 221
},
"hsl": {
"h": 229.048,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.59875,
"c": 0.15802,
"h": 271.4
},
"luminance": 0.2061
}Semantic roles & 50–950 ramp
primary
#5F76DD
secondary
#E3DBB5
accent
#AC19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84