#5A79E8#5A79E8

#5A79E8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.171 H 269.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5A79E8
RGBrgb(90, 121, 232)
HSLhsl(227, 76%, 63%)
HSVhsv(227, 61%, 91%)
CMYKcmyk(61.2%, 47.8%, 0%, 9%)
CIE-LABlab(53.68, 22.63, -59.70)
CIE-LCHlch(53.68, 63.85, 290.76°)
OKLaboklab(60.9% -0.0027 -0.1708)
OKLCHoklch(60.9% 0.171 269.1)
XYZxyz(25.6144, 21.6724, 79.1616)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79E8 #E8C95A
analogous
#5AC0E8 #5A79E8 #825AE8
triadic
#5A79E8 #E85A79 #79E85A
tetradic
#5A79E8 #E85AC0 #E8C95A #5AE882
square
#5A79E8 #E85AC0 #E8C95A #5AE882
split-complementary
#5A79E8 #E8825A #C0E85A
monochromatic
#1839AF #244DE1 #5A79E8 #90A5EF #C5D0F7

Accessibility & contrast

On white

3.94
#5A79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5A79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79E8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79E8#FFFFFF#000000##000000
##5A79E81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#257AE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a79e8;
/* rgb */ color: rgb(90, 121, 232);
/* oklch */ color: oklch(60.9% 0.171 269.1);
Tailwind
colors: {
  custom: {
    50: '#959ff0',
    500: '#5a79e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a79e8;
$custom-light: #959ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79e8",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 226.901,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.1708,
    "h": 269.1
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

primary
#5A79E8
secondary
#E8DDB5
accent
#AC0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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