#5F79ED#5F79ED
#5F79ED is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.176 H 270.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5F79ED |
|---|---|
| RGB | rgb(95, 121, 237) |
| HSL | hsl(229, 80%, 65%) |
| HSV | hsv(229, 60%, 93%) |
| CMYK | cmyk(59.9%, 48.9%, 0%, 7.1%) |
| CIE-LAB | lab(54.26, 25.18, -61.55) |
| CIE-LCH | lch(54.26, 66.50, 292.25°) |
| OKLab | oklab(61.51% 0.0028 -0.1761) |
| OKLCH | oklch(61.51% 0.176 270.9) |
| XYZ | xyz(26.8376, 22.2199, 82.9789) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.37
Lightish Blue
#3D7AFD
ΔE00 4.04
Cornflower Blue
#5170D7
ΔE00 4.63
Soft Blue
#6488EA
ΔE00 4.93
Clear Blue
#247AFD
ΔE00 5.72
Dodger Blue
#3E82FC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F79ED #EDD35F
analogous
#5FC0ED #5F79ED #8C5FED
triadic
#5F79ED #ED5F79 #79ED5F
tetradic
#5F79ED #ED5FC0 #EDD35F #5FED8C
square
#5F79ED #ED5FC0 #EDD35F #5FED8C
split-complementary
#5F79ED #ED8C5F #C0ED5F
monochromatic
#1534BC #284BE7 #5F79ED #96A7F3 #CDD5F9
Accessibility & contrast
On white
3.86
#5F79ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#5F79ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F79ED
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F79ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F79ED | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C88F1
Deuteranopia (green-blind)
#1F7CEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f79ed; /* rgb */ color: rgb(95, 121, 237); /* oklch */ color: oklch(61.5% 0.176 270.9);
Tailwind
colors: {
custom: {
50: '#989ff3',
500: '#5f79ed',
950: '#000000',
},
}SCSS
$custom: #5f79ed; $custom-light: #989ff3; $custom-dark: #000000;
JSON
{
"hex": "#5f79ed",
"rgb": {
"r": 95,
"g": 121,
"b": 237
},
"hsl": {
"h": 229.014,
"s": 79.775,
"l": 65.098
},
"oklch": {
"l": 0.61508,
"c": 0.17611,
"h": 270.9
},
"luminance": 0.22222
}Semantic roles & 50–950 ramp
primary
#5F79ED
secondary
#ECE3BC
accent
#B609DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85