#5F79CD#5F79CD
#5F79CD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.132 H 269.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79CD |
|---|---|
| RGB | rgb(95, 121, 205) |
| HSL | hsl(226, 52%, 59%) |
| HSV | hsv(226, 54%, 80%) |
| CMYK | cmyk(53.7%, 41%, 0%, 19.6%) |
| CIE-LAB | lab(52.41, 14.75, -46.48) |
| CIE-LCH | lch(52.41, 48.77, 287.61°) |
| OKLab | oklab(59.5% -0.0019 -0.1319) |
| OKLCH | oklch(59.5% 0.132 269.2) |
| XYZ | xyz(22.5725, 20.5138, 60.5159) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.55
Cornflower
#6A79F7
ΔE00 5.99
Soft Blue
#6488EA
ΔE00 6.10
Lightish Blue
#3D7AFD
ΔE00 6.19
Royal Blue
#4169E1
ΔE00 6.34
Faded Blue
#658CBB
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79CD #CDB35F
analogous
#5FB0CD #5F79CD #7C5FCD
triadic
#5F79CD #CD5F79 #79CD5F
tetradic
#5F79CD #CD5FB0 #CDB35F #5FCD7C
square
#5F79CD #CD5FB0 #CDB35F #5FCD7C
split-complementary
#5F79CD #CD7C5F #B0CD5F
monochromatic
#2A4087 #3956B6 #5F79CD #8EA0DC #BCC7EA
Accessibility & contrast
On white
4.12
#5F79CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#5F79CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79CD
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79CD | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#4979CB
Tritanopia (blue-blind)
#278B99
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f79cd; /* rgb */ color: rgb(95, 121, 205); /* oklch */ color: oklch(59.5% 0.132 269.2);
Tailwind
colors: {
custom: {
50: '#949fdd',
500: '#5f79cd',
950: '#000000',
},
}SCSS
$custom: #5f79cd; $custom-light: #949fdd; $custom-dark: #000000;
JSON
{
"hex": "#5f79cd",
"rgb": {
"r": 95,
"g": 121,
"b": 205
},
"hsl": {
"h": 225.818,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.59502,
"c": 0.13187,
"h": 269.2
},
"luminance": 0.20515
}Semantic roles & 50–950 ramp
primary
#5F79CD
secondary
#DACFAE
accent
#BA4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83