#5F79E9#5F79E9
#5F79E9 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.171 H 270.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79E9 |
|---|---|
| RGB | rgb(95, 121, 233) |
| HSL | hsl(229, 76%, 64%) |
| HSV | hsv(229, 59%, 91%) |
| CMYK | cmyk(59.2%, 48.1%, 0%, 8.6%) |
| CIE-LAB | lab(54.02, 23.86, -59.71) |
| CIE-LCH | lch(54.02, 64.30, 291.79°) |
| OKLab | oklab(61.24% 0.0024 -0.1707) |
| OKLCH | oklch(61.24% 0.171 270.8) |
| XYZ | xyz(26.2598, 21.9887, 79.9354) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.75
Lightish Blue
#3D7AFD
ΔE00 4.16
Cornflower Blue
#5170D7
ΔE00 4.30
Soft Blue
#6488EA
ΔE00 4.93
Clear Blue
#247AFD
ΔE00 5.75
Dodger Blue
#3E82FC
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79E9 #E9CF5F
analogous
#5FBEE9 #5F79E9 #8A5FE9
triadic
#5F79E9 #E95F79 #79E95F
tetradic
#5F79E9 #E95FBE #E9CF5F #5FE98A
square
#5F79E9 #E95FBE #E9CF5F #5FE98A
split-complementary
#5F79E9 #E98A5F #BEE95F
monochromatic
#1936B5 #294CE2 #5F79E9 #95A6F0 #CBD3F8
Accessibility & contrast
On white
3.89
#5F79E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5F79E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79E9
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79E9 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4088ED
Deuteranopia (green-blind)
#287BE7
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f79e9; /* rgb */ color: rgb(95, 121, 233); /* oklch */ color: oklch(61.2% 0.171 270.8);
Tailwind
colors: {
custom: {
50: '#989ff1',
500: '#5f79e9',
950: '#000000',
},
}SCSS
$custom: #5f79e9; $custom-light: #989ff1; $custom-dark: #000000;
JSON
{
"hex": "#5f79e9",
"rgb": {
"r": 95,
"g": 121,
"b": 233
},
"hsl": {
"h": 228.696,
"s": 75.824,
"l": 64.314
},
"oklch": {
"l": 0.61244,
"c": 0.1707,
"h": 270.8
},
"luminance": 0.21991
}Semantic roles & 50–950 ramp
primary
#5F79E9
secondary
#EAE1BA
accent
#B20DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85