#5F76CA#5F76CA
#5F76CA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.131 H 270.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76CA |
|---|---|
| RGB | rgb(95, 118, 202) |
| HSL | hsl(227, 50%, 58%) |
| HSV | hsv(227, 53%, 79%) |
| CMYK | cmyk(53%, 41.6%, 0%, 20.8%) |
| CIE-LAB | lab(51.44, 15.62, -46.32) |
| CIE-LCH | lch(51.44, 48.88, 288.64°) |
| OKLab | oklab(58.7% 0.0009 -0.1314) |
| OKLCH | oklch(58.7% 0.131 270.4) |
| XYZ | xyz(21.8549, 19.6525, 58.5073) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.08
Royal Blue
#4169E1
ΔE00 5.83
Cornflower
#6A79F7
ΔE00 6.39
Lightish Blue
#3D7AFD
ΔE00 6.93
French Blue
#436BAD
ΔE00 7.11
Soft Blue
#6488EA
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76CA #CAB35F
analogous
#5FABCA #5F76CA #7D5FCA
triadic
#5F76CA #CA5F76 #76CA5F
tetradic
#5F76CA #CA5FAB #CAB35F #5FCA7D
square
#5F76CA #CA5FAB #CAB35F #5FCA7D
split-complementary
#5F76CA #CA7D5F #ABCA5F
monochromatic
#2B3E83 #3B54B1 #5F76CA #8D9DD9 #BBC5E8
Accessibility & contrast
On white
4.26
#5F76CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#5F76CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76CA
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76CA | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5380CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#2B8896
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f76ca; /* rgb */ color: rgb(95, 118, 202); /* oklch */ color: oklch(58.7% 0.131 270.4);
Tailwind
colors: {
custom: {
50: '#939dda',
500: '#5f76ca',
950: '#000000',
},
}SCSS
$custom: #5f76ca; $custom-light: #939dda; $custom-dark: #000000;
JSON
{
"hex": "#5f76ca",
"rgb": {
"r": 95,
"g": 118,
"b": 202
},
"hsl": {
"h": 227.103,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.58704,
"c": 0.1314,
"h": 270.4
},
"luminance": 0.19654
}Semantic roles & 50–950 ramp
primary
#5F76CA
secondary
#D8CFAD
accent
#BC4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83