#5F79E8#5F79E8
#5F79E8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.169 H 270.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79E8 |
|---|---|
| RGB | rgb(95, 121, 232) |
| HSL | hsl(229, 75%, 64%) |
| HSV | hsv(229, 59%, 91%) |
| CMYK | cmyk(59.1%, 47.8%, 0%, 9%) |
| CIE-LAB | lab(53.95, 23.53, -59.24) |
| CIE-LCH | lch(53.95, 63.75, 291.67°) |
| OKLab | oklab(61.18% 0.0022 -0.1693) |
| OKLCH | oklch(61.18% 0.169 270.8) |
| XYZ | xyz(26.1173, 21.9317, 79.1852) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.85
Lightish Blue
#3D7AFD
ΔE00 4.19
Cornflower Blue
#5170D7
ΔE00 4.22
Soft Blue
#6488EA
ΔE00 4.94
Clear Blue
#247AFD
ΔE00 5.76
Dodger Blue
#3E82FC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79E8 #E8CE5F
analogous
#5FBEE8 #5F79E8 #8A5FE8
triadic
#5F79E8 #E85F79 #79E85F
tetradic
#5F79E8 #E85FBE #E8CE5F #5FE88A
square
#5F79E8 #E85FBE #E8CE5F #5FE88A
split-complementary
#5F79E8 #E88A5F #BEE85F
monochromatic
#1A37B3 #294CE0 #5F79E8 #95A6F0 #CAD3F7
Accessibility & contrast
On white
3.90
#5F79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#5F79E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79E8
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79E8 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f79e8; /* rgb */ color: rgb(95, 121, 232); /* oklch */ color: oklch(61.2% 0.169 270.8);
Tailwind
colors: {
custom: {
50: '#979ff0',
500: '#5f79e8',
950: '#000000',
},
}SCSS
$custom: #5f79e8; $custom-light: #979ff0; $custom-dark: #000000;
JSON
{
"hex": "#5f79e8",
"rgb": {
"r": 95,
"g": 121,
"b": 232
},
"hsl": {
"h": 228.613,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.61179,
"c": 0.16933,
"h": 270.8
},
"luminance": 0.21934
}Semantic roles & 50–950 ramp
primary
#5F79E8
secondary
#E9E0BA
accent
#B10ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85