#5F79E7#5F79E7
#5F79E7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.168 H 270.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79E7 |
|---|---|
| RGB | rgb(95, 121, 231) |
| HSL | hsl(229, 74%, 64%) |
| HSV | hsv(229, 59%, 91%) |
| CMYK | cmyk(58.9%, 47.6%, 0%, 9.4%) |
| CIE-LAB | lab(53.89, 23.21, -58.78) |
| CIE-LCH | lch(53.89, 63.20, 291.54°) |
| OKLab | oklab(61.11% 0.0021 -0.168) |
| OKLCH | oklch(61.11% 0.168 270.7) |
| XYZ | xyz(25.9757, 21.8751, 78.4393) |
| Luminance | 0.2188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.95
Cornflower Blue
#5170D7
ΔE00 4.14
Lightish Blue
#3D7AFD
ΔE00 4.24
Soft Blue
#6488EA
ΔE00 4.94
Clear Blue
#247AFD
ΔE00 5.78
Dodger Blue
#3E82FC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79E7 #E7CD5F
analogous
#5FBDE7 #5F79E7 #895FE7
triadic
#5F79E7 #E75F79 #79E75F
tetradic
#5F79E7 #E75FBD #E7CD5F #5FE789
square
#5F79E7 #E75FBD #E7CD5F #5FE789
split-complementary
#5F79E7 #E7895F #BDE75F
monochromatic
#1B37B1 #2A4CDF #5F79E7 #94A6EF #C9D2F7
Accessibility & contrast
On white
3.91
#5F79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#5F79E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79E7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79E7 | 1.00 | 3.91 | 5.38 | 5.38 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f79e7; /* rgb */ color: rgb(95, 121, 231); /* oklch */ color: oklch(61.1% 0.168 270.7);
Tailwind
colors: {
custom: {
50: '#979fef',
500: '#5f79e7',
950: '#000000',
},
}SCSS
$custom: #5f79e7; $custom-light: #979fef; $custom-dark: #000000;
JSON
{
"hex": "#5f79e7",
"rgb": {
"r": 95,
"g": 121,
"b": 231
},
"hsl": {
"h": 228.529,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.61114,
"c": 0.16797,
"h": 270.7
},
"luminance": 0.21877
}Semantic roles & 50–950 ramp
primary
#5F79E7
secondary
#E9E0B9
accent
#B00FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84