#5F79DF#5F79DF
#5F79DF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.157 H 270.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79DF |
|---|---|
| RGB | rgb(95, 121, 223) |
| HSL | hsl(228, 67%, 62%) |
| HSV | hsv(228, 57%, 87%) |
| CMYK | cmyk(57.4%, 45.7%, 0%, 12.5%) |
| CIE-LAB | lab(53.42, 20.58, -55.05) |
| CIE-LCH | lch(53.42, 58.78, 290.50°) |
| OKLab | oklab(60.6% 0.0011 -0.157) |
| OKLCH | oklch(60.6% 0.157 270.4) |
| XYZ | xyz(24.8715, 21.4334, 72.6241) |
| Luminance | 0.2144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.64
Cornflower
#6A79F7
ΔE00 3.83
Lightish Blue
#3D7AFD
ΔE00 4.68
Soft Blue
#6488EA
ΔE00 5.11
Clear Blue
#247AFD
ΔE00 6.00
Royal Blue
#4169E1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79DF #DFC55F
analogous
#5FB9DF #5F79DF #855FDF
triadic
#5F79DF #DF5F79 #79DF5F
tetradic
#5F79DF #DF5FB9 #DFC55F #5FDF85
square
#5F79DF #DF5FB9 #DFC55F #5FDF85
split-complementary
#5F79DF #DF855F #B9DF5F
monochromatic
#213BA3 #2C4ED5 #5F79DF #92A4E9 #C5CEF3
Accessibility & contrast
On white
3.97
#5F79DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#5F79DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79DF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79DF | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4986E3
Deuteranopia (green-blind)
#377ADD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f79df; /* rgb */ color: rgb(95, 121, 223); /* oklch */ color: oklch(60.6% 0.157 270.4);
Tailwind
colors: {
custom: {
50: '#969fe9',
500: '#5f79df',
950: '#000000',
},
}SCSS
$custom: #5f79df; $custom-light: #969fe9; $custom-dark: #000000;
JSON
{
"hex": "#5f79df",
"rgb": {
"r": 95,
"g": 121,
"b": 223
},
"hsl": {
"h": 227.813,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.606,
"c": 0.157,
"h": 270.4
},
"luminance": 0.21435
}Semantic roles & 50–950 ramp
primary
#5F79DF
secondary
#E4DBB6
accent
#A917CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84