#5A79CC#5A79CC

#5A79CC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.132 H 266.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A79CC
RGBrgb(90, 121, 204)
HSLhsl(224, 53%, 58%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(55.9%, 40.7%, 0%, 20%)
CIE-LABlab(52.07, 13.35, -46.48)
CIE-LCHlch(52.07, 48.36, 286.03°)
OKLaboklab(59.14% -0.0071 -0.132)
OKLCHoklch(59.14% 0.132 266.9)
XYZxyz(21.9493, 20.2064, 59.8586)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79CC #CCAD5A
analogous
#5AB2CC #5A79CC #745ACC
triadic
#5A79CC #CC5A79 #79CC5A
tetradic
#5A79CC #CC5AB2 #CCAD5A #5ACC74
square
#5A79CC #CC5AB2 #CCAD5A #5ACC74
split-complementary
#5A79CC #CC745A #B2CC5A
monochromatic
#294183 #3758B2 #5A79CC #899FDA #B7C5E9

Accessibility & contrast

On white

4.17
#5A79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5A79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79CC#FFFFFF#000000##000000
##5A79CC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#118B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a79cc;
/* rgb */ color: rgb(90, 121, 204);
/* oklch */ color: oklch(59.1% 0.132 266.9);
Tailwind
colors: {
  custom: {
    50: '#919fdc',
    500: '#5a79cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a79cc;
$custom-light: #919fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79cc",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 223.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.13214,
    "h": 266.9
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#5A79CC
secondary
#D8CBAA
accent
#B54CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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