#5F79F1#5F79F1
#5F79F1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.181 H 271.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79F1 |
|---|---|
| RGB | rgb(95, 121, 241) |
| HSL | hsl(229, 84%, 66%) |
| HSV | hsv(229, 61%, 95%) |
| CMYK | cmyk(60.6%, 49.8%, 0%, 5.5%) |
| CIE-LAB | lab(54.51, 26.50, -63.37) |
| CIE-LCH | lch(54.51, 68.69, 292.69°) |
| OKLab | oklab(61.78% 0.0032 -0.1815) |
| OKLCH | oklch(61.78% 0.182 271) |
| XYZ | xyz(27.4286, 22.4562, 86.0911) |
| Luminance | 0.2246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.04
Lightish Blue
#3D7AFD
ΔE00 3.98
Soft Blue
#6488EA
ΔE00 4.98
Cornflower Blue
#5170D7
ΔE00 5.00
Dodger Blue
#3E82FC
ΔE00 5.70
Clear Blue
#247AFD
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79F1 #F1D75F
analogous
#5FC2F1 #5F79F1 #8E5FF1
triadic
#5F79F1 #F15F79 #79F15F
tetradic
#5F79F1 #F15FC2 #F1D75F #5FF18E
square
#5F79F1 #F15FC2 #F1D75F #5FF18E
split-complementary
#5F79F1 #F18E5F #C2F15F
monochromatic
#1131C4 #274AEC #5F79F1 #97A8F6 #D0D7FB
Accessibility & contrast
On white
3.82
#5F79F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#5F79F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79F1
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79F1 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3789F5
Deuteranopia (green-blind)
#127CEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f79f1; /* rgb */ color: rgb(95, 121, 241); /* oklch */ color: oklch(61.8% 0.181 271.0);
Tailwind
colors: {
custom: {
50: '#999ff6',
500: '#5f79f1',
950: '#000000',
},
}SCSS
$custom: #5f79f1; $custom-light: #999ff6; $custom-dark: #000000;
JSON
{
"hex": "#5f79f1",
"rgb": {
"r": 95,
"g": 121,
"b": 241
},
"hsl": {
"h": 229.315,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.61776,
"c": 0.1815,
"h": 271
},
"luminance": 0.22459
}Semantic roles & 50–950 ramp
primary
#5F79F1
secondary
#EEE5BE
accent
#B905E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85