#5A79E5#5A79E5

#5A79E5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.167 H 269.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A79E5
RGBrgb(90, 121, 229)
HSLhsl(227, 73%, 63%)
HSVhsv(227, 61%, 90%)
CMYKcmyk(60.7%, 47.2%, 0%, 10.2%)
CIE-LABlab(53.50, 21.62, -58.32)
CIE-LCHlch(53.50, 62.20, 290.35°)
OKLaboklab(60.7% -0.003 -0.1667)
OKLCHoklch(60.7% 0.167 269)
XYZxyz(25.1919, 21.5034, 76.9366)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79E5 #E5C65A
analogous
#5ABEE5 #5A79E5 #815AE5
triadic
#5A79E5 #E55A79 #79E55A
tetradic
#5A79E5 #E55ABE #E5C65A #5AE581
square
#5A79E5 #E55ABE #E5C65A #5AE581
split-complementary
#5A79E5 #E5815A #BEE55A
monochromatic
#1B3BAA #254EDD #5A79E5 #8FA4ED #C4CFF6

Accessibility & contrast

On white

3.96
#5A79E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5A79E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79E5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79E5#FFFFFF#000000##000000
##5A79E51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E9
Deuteranopia (green-blind)
#2A7AE3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a79e5;
/* rgb */ color: rgb(90, 121, 229);
/* oklch */ color: oklch(60.7% 0.167 269.0);
Tailwind
colors: {
  custom: {
    50: '#949fee',
    500: '#5a79e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a79e5;
$custom-light: #949fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79e5",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 226.619,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.16673,
    "h": 269
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#5A79E5
secondary
#E7DBB4
accent
#A911D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A79E5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5A79E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva