#5F79DD#5F79DD
#5F79DD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.154 H 270.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79DD |
|---|---|
| RGB | rgb(95, 121, 221) |
| HSL | hsl(228, 65%, 62%) |
| HSV | hsv(228, 57%, 87%) |
| CMYK | cmyk(57%, 45.2%, 0%, 13.3%) |
| CIE-LAB | lab(53.30, 19.93, -54.11) |
| CIE-LCH | lch(53.30, 57.67, 290.22°) |
| OKLab | oklab(60.47% 0.0008 -0.1542) |
| OKLCH | oklch(60.47% 0.154 270.3) |
| XYZ | xyz(24.6035, 21.3262, 71.2124) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.55
Cornflower
#6A79F7
ΔE00 4.07
Lightish Blue
#3D7AFD
ΔE00 4.82
Soft Blue
#6488EA
ΔE00 5.19
Royal Blue
#4169E1
ΔE00 6.06
Clear Blue
#247AFD
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79DD #DDC35F
analogous
#5FB8DD #5F79DD #845FDD
triadic
#5F79DD #DD5F79 #79DD5F
tetradic
#5F79DD #DD5FB8 #DDC35F #5FDD84
square
#5F79DD #DD5FB8 #DDC35F #5FDD84
split-complementary
#5F79DD #DD845F #B8DD5F
monochromatic
#223CA0 #2D4FD2 #5F79DD #91A3E8 #C4CEF2
Accessibility & contrast
On white
3.99
#5F79DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5F79DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79DD
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79DD | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B85E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f79dd; /* rgb */ color: rgb(95, 121, 221); /* oklch */ color: oklch(60.5% 0.154 270.3);
Tailwind
colors: {
custom: {
50: '#969fe8',
500: '#5f79dd',
950: '#000000',
},
}SCSS
$custom: #5f79dd; $custom-light: #969fe8; $custom-dark: #000000;
JSON
{
"hex": "#5f79dd",
"rgb": {
"r": 95,
"g": 121,
"b": 221
},
"hsl": {
"h": 227.619,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.60474,
"c": 0.15424,
"h": 270.3
},
"luminance": 0.21328
}Semantic roles & 50–950 ramp
primary
#5F79DD
secondary
#E3DAB5
accent
#A819CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84