#5F79CF#5F79CF
#5F79CF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.6% C 0.135 H 269.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79CF |
|---|---|
| RGB | rgb(95, 121, 207) |
| HSL | hsl(226, 54%, 59%) |
| HSV | hsv(226, 54%, 81%) |
| CMYK | cmyk(54.1%, 41.5%, 0%, 18.8%) |
| CIE-LAB | lab(52.52, 15.39, -47.45) |
| CIE-LCH | lch(52.52, 49.88, 287.97°) |
| OKLab | oklab(59.62% -0.0016 -0.1347) |
| OKLCH | oklch(59.62% 0.135 269.3) |
| XYZ | xyz(22.8155, 20.6110, 61.7954) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.48
Cornflower
#6A79F7
ΔE00 5.74
Soft Blue
#6488EA
ΔE00 5.95
Lightish Blue
#3D7AFD
ΔE00 6.00
Royal Blue
#4169E1
ΔE00 6.27
Clear Blue
#247AFD
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79CF #CFB55F
analogous
#5FB1CF #5F79CF #7D5FCF
triadic
#5F79CF #CF5F79 #79CF5F
tetradic
#5F79CF #CF5FB1 #CFB55F #5FCF7D
square
#5F79CF #CF5FB1 #CFB55F #5FCF7D
split-complementary
#5F79CF #CF7D5F #B1CF5F
monochromatic
#29408A #3856B9 #5F79CF #8EA0DD #BDC8EB
Accessibility & contrast
On white
4.10
#5F79CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#5F79CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79CF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79CF | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5583D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#248C9A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f79cf; /* rgb */ color: rgb(95, 121, 207); /* oklch */ color: oklch(59.6% 0.135 269.3);
Tailwind
colors: {
custom: {
50: '#949fde',
500: '#5f79cf',
950: '#000000',
},
}SCSS
$custom: #5f79cf; $custom-light: #949fde; $custom-dark: #000000;
JSON
{
"hex": "#5f79cf",
"rgb": {
"r": 95,
"g": 121,
"b": 207
},
"hsl": {
"h": 226.071,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.5962,
"c": 0.1347,
"h": 269.3
},
"luminance": 0.20613
}Semantic roles & 50–950 ramp
primary
#5F79CF
secondary
#DBD1AF
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83