#5F76CC#5F76CC
#5F76CC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.134 H 270.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76CC |
|---|---|
| RGB | rgb(95, 118, 204) |
| HSL | hsl(227, 52%, 59%) |
| HSV | hsv(227, 53%, 80%) |
| CMYK | cmyk(53.4%, 42.2%, 0%, 20%) |
| CIE-LAB | lab(51.55, 16.26, -47.28) |
| CIE-LCH | lch(51.55, 50.00, 288.98°) |
| OKLab | oklab(58.82% 0.0013 -0.1342) |
| OKLCH | oklch(58.82% 0.134 270.6) |
| XYZ | xyz(22.0933, 19.7479, 59.7625) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.95
Royal Blue
#4169E1
ΔE00 5.72
Cornflower
#6A79F7
ΔE00 6.14
Lightish Blue
#3D7AFD
ΔE00 6.73
Soft Blue
#6488EA
ΔE00 7.08
French Blue
#436BAD
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76CC #CCB55F
analogous
#5FADCC #5F76CC #7E5FCC
triadic
#5F76CC #CC5F76 #76CC5F
tetradic
#5F76CC #CC5FAD #CCB55F #5FCC7E
square
#5F76CC #CC5FAD #CCB55F #5FCC7E
split-complementary
#5F76CC #CC7E5F #ADCC5F
monochromatic
#2B3E86 #3953B4 #5F76CC #8D9EDB #BCC5EA
Accessibility & contrast
On white
4.24
#5F76CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#5F76CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76CC
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76CC | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#298997
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f76cc; /* rgb */ color: rgb(95, 118, 204); /* oklch */ color: oklch(58.8% 0.134 270.6);
Tailwind
colors: {
custom: {
50: '#949ddc',
500: '#5f76cc',
950: '#000000',
},
}SCSS
$custom: #5f76cc; $custom-light: #949ddc; $custom-dark: #000000;
JSON
{
"hex": "#5f76cc",
"rgb": {
"r": 95,
"g": 118,
"b": 204
},
"hsl": {
"h": 227.339,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.58823,
"c": 0.13425,
"h": 270.6
},
"luminance": 0.19749
}Semantic roles & 50–950 ramp
primary
#5F76CC
secondary
#D9D0AE
accent
#BD4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83