#5A79EF#5A79EF
#5A79EF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.180 H 269.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5A79EF |
|---|---|
| RGB | rgb(90, 121, 239) |
| HSL | hsl(228, 82%, 65%) |
| HSV | hsv(228, 62%, 94%) |
| CMYK | cmyk(62.3%, 49.4%, 0%, 6.3%) |
| CIE-LAB | lab(54.11, 24.97, -62.92) |
| CIE-LCH | lch(54.11, 67.69, 291.65°) |
| OKLab | oklab(61.36% -0.0019 -0.1802) |
| OKLCH | oklch(61.36% 0.18 269.4) |
| XYZ | xyz(26.6285, 22.0781, 84.5028) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.30
Cornflower Blue
#5170D7
ΔE00 4.53
Soft Blue
#6488EA
ΔE00 4.84
Clear Blue
#247AFD
ΔE00 4.97
Dodger Blue
#3E82FC
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A79EF #EFD05A
analogous
#5AC3EF #5A79EF #865AEF
triadic
#5A79EF #EF5A79 #79EF5A
tetradic
#5A79EF #EF5AC3 #EFD05A #5AEF86
square
#5A79EF #EF5AC3 #EFD05A #5AEF86
split-complementary
#5A79EF #EF865A #C3EF5A
monochromatic
#1236BC #224CEA #5A79EF #92A6F4 #CAD4FA
Accessibility & contrast
On white
3.88
#5A79EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#5A79EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A79EF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A79EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A79EF | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#107BED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5a79ef; /* rgb */ color: rgb(90, 121, 239); /* oklch */ color: oklch(61.4% 0.180 269.4);
Tailwind
colors: {
custom: {
50: '#969ff5',
500: '#5a79ef',
950: '#000000',
},
}SCSS
$custom: #5a79ef; $custom-light: #969ff5; $custom-dark: #000000;
JSON
{
"hex": "#5a79ef",
"rgb": {
"r": 90,
"g": 121,
"b": 239
},
"hsl": {
"h": 227.517,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.61362,
"c": 0.18024,
"h": 269.4
},
"luminance": 0.2208
}Semantic roles & 50–950 ramp
primary
#5A79EF
secondary
#ECE1B9
accent
#B207DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85