#5A79CA#5A79CA

#5A79CA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.129 H 266.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5A79CA
RGBrgb(90, 121, 202)
HSLhsl(223, 51%, 57%)
HSVhsv(223, 55%, 79%)
CMYKcmyk(55.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.96, 12.70, -45.51)
CIE-LCHlch(51.96, 47.25, 285.60°)
OKLaboklab(59.03% -0.0075 -0.1291)
OKLCHoklch(59.03% 0.129 266.7)
XYZxyz(21.7109, 20.1110, 58.6034)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79CA #CAAB5A
analogous
#5AB1CA #5A79CA #735ACA
triadic
#5A79CA #CA5A79 #79CA5A
tetradic
#5A79CA #CA5AB1 #CAAB5A #5ACA73
square
#5A79CA #CA5AB1 #CAAB5A #5ACA73
split-complementary
#5A79CA #CA735A #B1CA5A
monochromatic
#294180 #3859AF #5A79CA #889FD9 #B7C4E8

Accessibility & contrast

On white

4.18
#5A79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5A79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79CA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79CA#FFFFFF#000000##000000
##5A79CA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#168B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a79ca;
/* rgb */ color: rgb(90, 121, 202);
/* oklch */ color: oklch(59.0% 0.129 266.7);
Tailwind
colors: {
  custom: {
    50: '#909fda',
    500: '#5a79ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a79ca;
$custom-light: #909fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79ca",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 223.393,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.12933,
    "h": 266.7
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#5A79CA
secondary
#D7CAA9
accent
#B44DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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