#5F76CF#5F76CF
#5F76CF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.138 H 270.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76CF |
|---|---|
| RGB | rgb(95, 118, 207) |
| HSL | hsl(228, 54%, 59%) |
| HSV | hsv(228, 54%, 81%) |
| CMYK | cmyk(54.1%, 43%, 0%, 18.8%) |
| CIE-LAB | lab(51.72, 17.22, -48.73) |
| CIE-LCH | lch(51.72, 51.68, 289.47°) |
| OKLab | oklab(59% 0.0018 -0.1385) |
| OKLCH | oklch(59% 0.138 270.8) |
| XYZ | xyz(22.4565, 19.8932, 61.6758) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.81
Royal Blue
#4169E1
ΔE00 5.58
Cornflower
#6A79F7
ΔE00 5.76
Lightish Blue
#3D7AFD
ΔE00 6.44
Soft Blue
#6488EA
ΔE00 6.88
Deep Sky Blue
#0D75F8
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76CF #CFB85F
analogous
#5FAECF #5F76CF #805FCF
triadic
#5F76CF #CF5F76 #76CF5F
tetradic
#5F76CF #CF5FAE #CFB85F #5FCF80
square
#5F76CF #CF5FAE #CFB85F #5FCF80
split-complementary
#5F76CF #CF805F #AECF5F
monochromatic
#293D8A #3852B9 #5F76CF #8E9EDD #BDC7EB
Accessibility & contrast
On white
4.22
#5F76CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#5F76CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76CF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76CF | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5080D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#258998
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f76cf; /* rgb */ color: rgb(95, 118, 207); /* oklch */ color: oklch(59.0% 0.138 270.8);
Tailwind
colors: {
custom: {
50: '#949dde',
500: '#5f76cf',
950: '#000000',
},
}SCSS
$custom: #5f76cf; $custom-light: #949dde; $custom-dark: #000000;
JSON
{
"hex": "#5f76cf",
"rgb": {
"r": 95,
"g": 118,
"b": 207
},
"hsl": {
"h": 227.679,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.59003,
"c": 0.13848,
"h": 270.8
},
"luminance": 0.19895
}Semantic roles & 50–950 ramp
primary
#5F76CF
secondary
#DBD2AF
accent
#BF4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83