#5A79EA#5A79EA

#5A79EA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.174 H 269.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5A79EA
RGBrgb(90, 121, 234)
HSLhsl(227, 77%, 64%)
HSVhsv(227, 62%, 92%)
CMYKcmyk(61.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.80, 23.30, -60.63)
CIE-LCHlch(53.80, 64.95, 291.02°)
OKLaboklab(61.03% -0.0024 -0.1735)
OKLCHoklch(61.03% 0.174 269.2)
XYZxyz(25.9001, 21.7867, 80.6663)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79EA #EACB5A
analogous
#5AC1EA #5A79EA #835AEA
triadic
#5A79EA #EA5A79 #79EA5A
tetradic
#5A79EA #EA5AC1 #EACB5A #5AEA83
square
#5A79EA #EA5AC1 #EACB5A #5AEA83
split-complementary
#5A79EA #EA835A #C1EA5A
monochromatic
#1738B3 #244DE3 #5A79EA #90A5F1 #C7D1F8

Accessibility & contrast

On white

3.92
#5A79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5A79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79EA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79EA#FFFFFF#000000##000000
##5A79EA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#207AE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a79ea;
/* rgb */ color: rgb(90, 121, 234);
/* oklch */ color: oklch(61.0% 0.174 269.2);
Tailwind
colors: {
  custom: {
    50: '#959ff1',
    500: '#5a79ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a79ea;
$custom-light: #959ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79ea",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 227.083,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.17351,
    "h": 269.2
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

primary
#5A79EA
secondary
#E9DEB6
accent
#AD0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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