#5F79DC#5F79DC
#5F79DC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.153 H 270.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79DC |
|---|---|
| RGB | rgb(95, 121, 220) |
| HSL | hsl(228, 64%, 62%) |
| HSV | hsv(228, 57%, 86%) |
| CMYK | cmyk(56.8%, 45%, 0%, 13.7%) |
| CIE-LAB | lab(53.25, 19.60, -53.64) |
| CIE-LCH | lch(53.25, 57.11, 290.07°) |
| OKLab | oklab(60.41% 0.0006 -0.1529) |
| OKLCH | oklch(60.41% 0.153 270.2) |
| XYZ | xyz(24.4707, 21.2731, 70.5129) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.51
Cornflower
#6A79F7
ΔE00 4.18
Lightish Blue
#3D7AFD
ΔE00 4.89
Soft Blue
#6488EA
ΔE00 5.22
Royal Blue
#4169E1
ΔE00 6.05
Clear Blue
#247AFD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79DC #DCC25F
analogous
#5FB8DC #5F79DC #845FDC
triadic
#5F79DC #DC5F79 #79DC5F
tetradic
#5F79DC #DC5FB8 #DCC25F #5FDC84
square
#5F79DC #DC5FB8 #DCC25F #5FDC84
split-complementary
#5F79DC #DC845F #B8DC5F
monochromatic
#233C9E #2E4FD0 #5F79DC #91A3E7 #C3CDF2
Accessibility & contrast
On white
4.00
#5F79DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5F79DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79DC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79DC | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#038FA0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f79dc; /* rgb */ color: rgb(95, 121, 220); /* oklch */ color: oklch(60.4% 0.153 270.2);
Tailwind
colors: {
custom: {
50: '#969fe7',
500: '#5f79dc',
950: '#000000',
},
}SCSS
$custom: #5f79dc; $custom-light: #969fe7; $custom-dark: #000000;
JSON
{
"hex": "#5f79dc",
"rgb": {
"r": 95,
"g": 121,
"b": 220
},
"hsl": {
"h": 227.52,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.60412,
"c": 0.15286,
"h": 270.2
},
"luminance": 0.21275
}Semantic roles & 50–950 ramp
primary
#5F79DC
secondary
#E3D9B4
accent
#A71ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84