#5F79CC#5F79CC
#5F79CC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.130 H 269.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79CC |
|---|---|
| RGB | rgb(95, 121, 204) |
| HSL | hsl(226, 52%, 59%) |
| HSV | hsv(226, 53%, 80%) |
| CMYK | cmyk(53.4%, 40.7%, 0%, 20%) |
| CIE-LAB | lab(52.36, 14.43, -46.00) |
| CIE-LCH | lch(52.36, 48.21, 287.42°) |
| OKLab | oklab(59.44% -0.0021 -0.1304) |
| OKLCH | oklch(59.44% 0.13 269.1) |
| XYZ | xyz(22.4522, 20.4657, 59.8822) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.59
Cornflower
#6A79F7
ΔE00 6.11
Soft Blue
#6488EA
ΔE00 6.17
Lightish Blue
#3D7AFD
ΔE00 6.28
Royal Blue
#4169E1
ΔE00 6.38
Faded Blue
#658CBB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79CC #CCB25F
analogous
#5FAFCC #5F79CC #7B5FCC
triadic
#5F79CC #CC5F79 #79CC5F
tetradic
#5F79CC #CC5FAF #CCB25F #5FCC7B
square
#5F79CC #CC5FAF #CCB25F #5FCC7B
split-complementary
#5F79CC #CC7B5F #AFCC5F
monochromatic
#2B4086 #3957B4 #5F79CC #8DA0DB #BCC7EA
Accessibility & contrast
On white
4.12
#5F79CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#5F79CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79CC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79CC | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#288B98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f79cc; /* rgb */ color: rgb(95, 121, 204); /* oklch */ color: oklch(59.4% 0.130 269.1);
Tailwind
colors: {
custom: {
50: '#939fdc',
500: '#5f79cc',
950: '#000000',
},
}SCSS
$custom: #5f79cc; $custom-light: #939fdc; $custom-dark: #000000;
JSON
{
"hex": "#5f79cc",
"rgb": {
"r": 95,
"g": 121,
"b": 204
},
"hsl": {
"h": 225.688,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.59444,
"c": 0.13047,
"h": 269.1
},
"luminance": 0.20467
}Semantic roles & 50–950 ramp
primary
#5F79CC
secondary
#D9CFAE
accent
#B94DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83