#5A79E7#5A79E7

#5A79E7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.169 H 269.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A79E7
RGBrgb(90, 121, 231)
HSLhsl(227, 75%, 63%)
HSVhsv(227, 61%, 91%)
CMYKcmyk(61%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.62, 22.29, -59.24)
CIE-LCHlch(53.62, 63.30, 290.62°)
OKLaboklab(60.83% -0.0028 -0.1694)
OKLCHoklch(60.83% 0.169 269.1)
XYZxyz(25.4728, 21.6158, 78.4157)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79E7 #E7C85A
analogous
#5ABFE7 #5A79E7 #825AE7
triadic
#5A79E7 #E75A79 #79E75A
tetradic
#5A79E7 #E75ABF #E7C85A #5AE782
square
#5A79E7 #E75ABF #E7C85A #5AE782
split-complementary
#5A79E7 #E7825A #BFE75A
monochromatic
#193AAD #254EDF #5A79E7 #8FA4EF #C5D0F7

Accessibility & contrast

On white

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

On black

5.32
#5A79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79E7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79E7#FFFFFF#000000##000000
##5A79E71.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#277AE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a79e7;
/* rgb */ color: rgb(90, 121, 231);
/* oklch */ color: oklch(60.8% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#959fef',
    500: '#5a79e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a79e7;
$custom-light: #959fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79e7",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 226.809,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.16944,
    "h": 269.1
  },
  "luminance": 0.21618
}

Semantic roles & 50–950 ramp

primary
#5A79E7
secondary
#E8DDB5
accent
#AB0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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