#5F79F0#5F79F0
#5F79F0 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.180 H 271.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79F0 |
|---|---|
| RGB | rgb(95, 121, 240) |
| HSL | hsl(229, 83%, 66%) |
| HSV | hsv(229, 60%, 94%) |
| CMYK | cmyk(60.4%, 49.6%, 0%, 5.9%) |
| CIE-LAB | lab(54.45, 26.17, -62.92) |
| CIE-LCH | lch(54.45, 68.14, 292.58°) |
| OKLab | oklab(61.71% 0.0031 -0.1801) |
| OKLCH | oklch(61.71% 0.18 271) |
| XYZ | xyz(27.2796, 22.3967, 85.3066) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.12
Lightish Blue
#3D7AFD
ΔE00 3.99
Cornflower Blue
#5170D7
ΔE00 4.91
Soft Blue
#6488EA
ΔE00 4.97
Dodger Blue
#3E82FC
ΔE00 5.70
Clear Blue
#247AFD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79F0 #F0D65F
analogous
#5FC2F0 #5F79F0 #8D5FF0
triadic
#5F79F0 #F05F79 #79F05F
tetradic
#5F79F0 #F05FC2 #F0D65F #5FF08D
square
#5F79F0 #F05FC2 #F0D65F #5FF08D
split-complementary
#5F79F0 #F08D5F #C2F05F
monochromatic
#1232C2 #274AEB #5F79F0 #97A8F5 #CFD7FA
Accessibility & contrast
On white
3.83
#5F79F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#5F79F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79F0
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79F0 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3889F4
Deuteranopia (green-blind)
#167CEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f79f0; /* rgb */ color: rgb(95, 121, 240); /* oklch */ color: oklch(61.7% 0.180 271.0);
Tailwind
colors: {
custom: {
50: '#999ff6',
500: '#5f79f0',
950: '#000000',
},
}SCSS
$custom: #5f79f0; $custom-light: #999ff6; $custom-dark: #000000;
JSON
{
"hex": "#5f79f0",
"rgb": {
"r": 95,
"g": 121,
"b": 240
},
"hsl": {
"h": 229.241,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.61709,
"c": 0.18016,
"h": 271
},
"luminance": 0.22399
}Semantic roles & 50–950 ramp
primary
#5F79F0
secondary
#EEE5BD
accent
#B806DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85