#5A79CE#5A79CE

#5A79CE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.135 H 267.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5A79CE
RGBrgb(90, 121, 206)
HSLhsl(224, 54%, 58%)
HSVhsv(224, 56%, 81%)
CMYKcmyk(56.3%, 41.3%, 0%, 19.2%)
CIE-LABlab(52.18, 14.01, -47.44)
CIE-LCHlch(52.18, 49.47, 286.45°)
OKLaboklab(59.26% -0.0067 -0.1348)
OKLCHoklch(59.26% 0.135 267.1)
XYZxyz(22.1907, 20.3029, 61.1300)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79CE #CEAF5A
analogous
#5AB3CE #5A79CE #755ACE
triadic
#5A79CE #CE5A79 #79CE5A
tetradic
#5A79CE #CE5AB3 #CEAF5A #5ACE75
square
#5A79CE #CE5AB3 #CEAF5A #5ACE75
split-complementary
#5A79CE #CE755A #B3CE5A
monochromatic
#284186 #3658B5 #5A79CE #899FDC #B8C6EA

Accessibility & contrast

On white

4.15
#5A79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5A79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79CE#FFFFFF#000000##000000
##5A79CE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#0B8C99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a79ce;
/* rgb */ color: rgb(90, 121, 206);
/* oklch */ color: oklch(59.3% 0.135 267.1);
Tailwind
colors: {
  custom: {
    50: '#919fdd',
    500: '#5a79ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a79ce;
$custom-light: #919fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79ce",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 223.966,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.13494,
    "h": 267.1
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#5A79CE
secondary
#D9CDAB
accent
#B64ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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