#5C79EF#5C79EF
#5C79EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.180 H 270.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5C79EF |
|---|---|
| RGB | rgb(92, 121, 239) |
| HSL | hsl(228, 82%, 65%) |
| HSV | hsv(228, 62%, 94%) |
| CMYK | cmyk(61.5%, 49.4%, 0%, 6.3%) |
| CIE-LAB | lab(54.22, 25.31, -62.74) |
| CIE-LCH | lch(54.22, 67.65, 291.97°) |
| OKLab | oklab(61.47% 0.0001 -0.1797) |
| OKLCH | oklch(61.47% 0.18 270) |
| XYZ | xyz(26.8257, 22.1798, 84.5121) |
| Luminance | 0.2218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.62
Lightish Blue
#3D7AFD
ΔE00 3.57
Cornflower Blue
#5170D7
ΔE00 4.63
Soft Blue
#6488EA
ΔE00 4.87
Clear Blue
#247AFD
ΔE00 5.27
Dodger Blue
#3E82FC
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C79EF #EFD25C
analogous
#5CC3EF #5C79EF #885CEF
triadic
#5C79EF #EF5C79 #79EF5C
tetradic
#5C79EF #EF5CC3 #EFD25C #5CEF88
square
#5C79EF #EF5CC3 #EFD25C #5CEF88
split-complementary
#5C79EF #EF885C #C3EF5C
monochromatic
#1334BE #244BEA #5C79EF #94A7F4 #CBD5FA
Accessibility & contrast
On white
3.86
#5C79EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#5C79EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C79EF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C79EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C79EF | 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)
#3989F3
Deuteranopia (green-blind)
#147BED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5c79ef; /* rgb */ color: rgb(92, 121, 239); /* oklch */ color: oklch(61.5% 0.180 270.0);
Tailwind
colors: {
custom: {
50: '#979ff5',
500: '#5c79ef',
950: '#000000',
},
}SCSS
$custom: #5c79ef; $custom-light: #979ff5; $custom-dark: #000000;
JSON
{
"hex": "#5c79ef",
"rgb": {
"r": 92,
"g": 121,
"b": 239
},
"hsl": {
"h": 228.163,
"s": 82.123,
"l": 64.902
},
"oklch": {
"l": 0.61472,
"c": 0.17966,
"h": 270
},
"luminance": 0.22182
}Semantic roles & 50–950 ramp
primary
#5C79EF
secondary
#ECE3BA
accent
#B407DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85