#5F76CD#5F76CD
#5F76CD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.136 H 270.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76CD |
|---|---|
| RGB | rgb(95, 118, 205) |
| HSL | hsl(227, 52%, 59%) |
| HSV | hsv(227, 54%, 80%) |
| CMYK | cmyk(53.7%, 42.4%, 0%, 19.6%) |
| CIE-LAB | lab(51.61, 16.58, -47.77) |
| CIE-LCH | lch(51.61, 50.56, 289.14°) |
| OKLab | oklab(58.88% 0.0015 -0.1356) |
| OKLCH | oklch(58.88% 0.136 270.6) |
| XYZ | xyz(22.2136, 19.7960, 60.3962) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.90
Royal Blue
#4169E1
ΔE00 5.67
Cornflower
#6A79F7
ΔE00 6.01
Lightish Blue
#3D7AFD
ΔE00 6.63
Soft Blue
#6488EA
ΔE00 7.01
French Blue
#436BAD
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76CD #CDB65F
analogous
#5FADCD #5F76CD #7F5FCD
triadic
#5F76CD #CD5F76 #76CD5F
tetradic
#5F76CD #CD5FAD #CDB65F #5FCD7F
square
#5F76CD #CD5FAD #CDB65F #5FCD7F
split-complementary
#5F76CD #CD7F5F #ADCD5F
monochromatic
#2A3E87 #3953B6 #5F76CD #8E9EDC #BCC6EA
Accessibility & contrast
On white
4.23
#5F76CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#5F76CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76CD
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76CD | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#278997
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f76cd; /* rgb */ color: rgb(95, 118, 205); /* oklch */ color: oklch(58.9% 0.136 270.6);
Tailwind
colors: {
custom: {
50: '#949ddd',
500: '#5f76cd',
950: '#000000',
},
}SCSS
$custom: #5f76cd; $custom-light: #949ddd; $custom-dark: #000000;
JSON
{
"hex": "#5f76cd",
"rgb": {
"r": 95,
"g": 118,
"b": 205
},
"hsl": {
"h": 227.455,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.58883,
"c": 0.13566,
"h": 270.6
},
"luminance": 0.19798
}Semantic roles & 50–950 ramp
primary
#5F76CD
secondary
#DAD1AE
accent
#BE4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83