#5F79CA#5F79CA
#5F79CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.128 H 268.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79CA |
|---|---|
| RGB | rgb(95, 121, 202) |
| HSL | hsl(225, 50%, 58%) |
| HSV | hsv(225, 53%, 79%) |
| CMYK | cmyk(53%, 40.1%, 0%, 20.8%) |
| CIE-LAB | lab(52.25, 13.79, -45.03) |
| CIE-LCH | lch(52.25, 47.09, 287.03°) |
| OKLab | oklab(59.33% -0.0025 -0.1276) |
| OKLCH | oklch(59.33% 0.128 268.9) |
| XYZ | xyz(22.2139, 20.3704, 58.6270) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.69
Soft Blue
#6488EA
ΔE00 6.32
Cornflower
#6A79F7
ΔE00 6.35
Royal Blue
#4169E1
ΔE00 6.47
Lightish Blue
#3D7AFD
ΔE00 6.48
Off Blue
#5684AE
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79CA #CAB05F
analogous
#5FAECA #5F79CA #7A5FCA
triadic
#5F79CA #CA5F79 #79CA5F
tetradic
#5F79CA #CA5FAE #CAB05F #5FCA7A
square
#5F79CA #CA5FAE #CAB05F #5FCA7A
split-complementary
#5F79CA #CA7A5F #AECA5F
monochromatic
#2B4183 #3B57B1 #5F79CA #8D9FD9 #BBC6E8
Accessibility & contrast
On white
4.14
#5F79CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#5F79CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79CA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79CA | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#2A8B98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f79ca; /* rgb */ color: rgb(95, 121, 202); /* oklch */ color: oklch(59.3% 0.128 268.9);
Tailwind
colors: {
custom: {
50: '#939fda',
500: '#5f79ca',
950: '#000000',
},
}SCSS
$custom: #5f79ca; $custom-light: #939fda; $custom-dark: #000000;
JSON
{
"hex": "#5f79ca",
"rgb": {
"r": 95,
"g": 121,
"b": 202
},
"hsl": {
"h": 225.421,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.59327,
"c": 0.12764,
"h": 268.9
},
"luminance": 0.20372
}Semantic roles & 50–950 ramp
primary
#5F79CA
secondary
#D8CDAD
accent
#B84EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83