#5F79EF#5F79EF
#5F79EF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.179 H 271.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79EF |
|---|---|
| RGB | rgb(95, 121, 239) |
| HSL | hsl(229, 82%, 65%) |
| HSV | hsv(229, 60%, 94%) |
| CMYK | cmyk(60.3%, 49.4%, 0%, 6.3%) |
| CIE-LAB | lab(54.38, 25.84, -62.46) |
| CIE-LCH | lch(54.38, 67.60, 292.48°) |
| OKLab | oklab(61.64% 0.003 -0.1788) |
| OKLCH | oklch(61.64% 0.179 271) |
| XYZ | xyz(27.1315, 22.3374, 84.5264) |
| Luminance | 0.2234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.20
Lightish Blue
#3D7AFD
ΔE00 4.00
Cornflower Blue
#5170D7
ΔE00 4.81
Soft Blue
#6488EA
ΔE00 4.95
Dodger Blue
#3E82FC
ΔE00 5.71
Clear Blue
#247AFD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79EF #EFD55F
analogous
#5FC1EF #5F79EF #8D5FEF
triadic
#5F79EF #EF5F79 #79EF5F
tetradic
#5F79EF #EF5FC1 #EFD55F #5FEF8D
square
#5F79EF #EF5FC1 #EFD55F #5FEF8D
split-complementary
#5F79EF #EF8D5F #C1EF5F
monochromatic
#1332C0 #274AE9 #5F79EF #97A8F5 #CED6FA
Accessibility & contrast
On white
3.84
#5F79EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#5F79EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79EF
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79EF | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#197CED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f79ef; /* rgb */ color: rgb(95, 121, 239); /* oklch */ color: oklch(61.6% 0.179 271.0);
Tailwind
colors: {
custom: {
50: '#989ff5',
500: '#5f79ef',
950: '#000000',
},
}SCSS
$custom: #5f79ef; $custom-light: #989ff5; $custom-dark: #000000;
JSON
{
"hex": "#5f79ef",
"rgb": {
"r": 95,
"g": 121,
"b": 239
},
"hsl": {
"h": 229.167,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.61642,
"c": 0.17881,
"h": 271
},
"luminance": 0.2234
}Semantic roles & 50–950 ramp
primary
#5F79EF
secondary
#EDE4BD
accent
#B707DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85