#5E79F2#5E79F2
#5E79F2 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.183 H 270.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79F2 |
|---|---|
| RGB | rgb(94, 121, 242) |
| HSL | hsl(229, 85%, 66%) |
| HSV | hsv(229, 61%, 95%) |
| CMYK | cmyk(61.2%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(54.51, 26.66, -63.92) |
| CIE-LCH | lch(54.51, 69.26, 292.64°) |
| OKLab | oklab(61.79% 0.0023 -0.1831) |
| OKLCH | oklch(61.79% 0.183 270.7) |
| XYZ | xyz(27.4751, 22.4629, 86.8751) |
| Luminance | 0.2246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.12
Lightish Blue
#3D7AFD
ΔE00 3.83
Soft Blue
#6488EA
ΔE00 4.97
Cornflower Blue
#5170D7
ΔE00 5.03
Dodger Blue
#3E82FC
ΔE00 5.57
Clear Blue
#247AFD
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79F2 #F2D75E
analogous
#5EC3F2 #5E79F2 #8D5EF2
triadic
#5E79F2 #F25E79 #79F25E
tetradic
#5E79F2 #F25EC3 #F2D75E #5EF28D
square
#5E79F2 #F25EC3 #F2D75E #5EF28D
split-complementary
#5E79F2 #F28D5E #C3F25E
monochromatic
#1031C6 #254AED #5E79F2 #97A8F7 #CFD7FB
Accessibility & contrast
On white
3.82
#5E79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#5E79F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79F2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79F2 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5e79f2; /* rgb */ color: rgb(94, 121, 242); /* oklch */ color: oklch(61.8% 0.183 270.7);
Tailwind
colors: {
custom: {
50: '#989ff7',
500: '#5e79f2',
950: '#000000',
},
}SCSS
$custom: #5e79f2; $custom-light: #989ff7; $custom-dark: #000000;
JSON
{
"hex": "#5e79f2",
"rgb": {
"r": 94,
"g": 121,
"b": 242
},
"hsl": {
"h": 229.054,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.61786,
"c": 0.18311,
"h": 270.7
},
"luminance": 0.22465
}Semantic roles & 50–950 ramp
primary
#5E79F2
secondary
#EEE5BD
accent
#B904E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85