#5F76DE#5F76DE
#5F76DE is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.159 H 271.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76DE |
|---|---|
| RGB | rgb(95, 118, 222) |
| HSL | hsl(229, 66%, 62%) |
| HSV | hsv(229, 57%, 87%) |
| CMYK | cmyk(57.2%, 46.8%, 0%, 12.9%) |
| CIE-LAB | lab(52.58, 22.09, -55.84) |
| CIE-LCH | lch(52.58, 60.05, 291.58°) |
| OKLab | oklab(59.94% 0.0041 -0.1593) |
| OKLCH | oklch(59.94% 0.159 271.5) |
| XYZ | xyz(24.3782, 20.6618, 71.7966) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.97
Cornflower
#6A79F7
ΔE00 3.93
Lightish Blue
#3D7AFD
ΔE00 5.22
Royal Blue
#4169E1
ΔE00 5.34
Soft Blue
#6488EA
ΔE00 6.16
Clear Blue
#247AFD
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76DE #DEC75F
analogous
#5FB5DE #5F76DE #885FDE
triadic
#5F76DE #DE5F76 #76DE5F
tetradic
#5F76DE #DE5FB5 #DEC75F #5FDE88
square
#5F76DE #DE5FB5 #DEC75F #5FDE88
split-complementary
#5F76DE #DE885F #B5DE5F
monochromatic
#2138A1 #2C4BD4 #5F76DE #92A1E8 #C4CDF3
Accessibility & contrast
On white
4.09
#5F76DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#5F76DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76DE
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76DE | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f76de; /* rgb */ color: rgb(95, 118, 222); /* oklch */ color: oklch(59.9% 0.159 271.5);
Tailwind
colors: {
custom: {
50: '#969de9',
500: '#5f76de',
950: '#000000',
},
}SCSS
$custom: #5f76de; $custom-light: #969de9; $custom-dark: #000000;
JSON
{
"hex": "#5f76de",
"rgb": {
"r": 95,
"g": 118,
"b": 222
},
"hsl": {
"h": 229.134,
"s": 65.803,
"l": 62.157
},
"oklch": {
"l": 0.59939,
"c": 0.1594,
"h": 271.5
},
"luminance": 0.20664
}Semantic roles & 50–950 ramp
primary
#5F76DE
secondary
#E4DBB5
accent
#AD18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84