#5A79CB#5A79CB

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

Color values

HEX#5A79CB
RGBrgb(90, 121, 203)
HSLhsl(224, 52%, 57%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(55.7%, 40.4%, 0%, 20.4%)
CIE-LABlab(52.02, 13.03, -45.99)
CIE-LCHlch(52.02, 47.80, 285.82°)
OKLaboklab(59.09% -0.0073 -0.1305)
OKLCHoklch(59.09% 0.131 266.8)
XYZxyz(21.8297, 20.1585, 59.2290)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79CB #CBAC5A
analogous
#5AB1CB #5A79CB #745ACB
triadic
#5A79CB #CB5A79 #79CB5A
tetradic
#5A79CB #CB5AB1 #CBAC5A #5ACB74
square
#5A79CB #CB5AB1 #CBAC5A #5ACB74
split-complementary
#5A79CB #CB745A #B1CB5A
monochromatic
#294182 #3859B0 #5A79CB #899FDA #B7C5E8

Accessibility & contrast

On white

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

On black

5.03
#5A79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79CB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79CB#FFFFFF#000000##000000
##5A79CB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CE
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#148B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a79cb;
/* rgb */ color: rgb(90, 121, 203);
/* oklch */ color: oklch(59.1% 0.131 266.8);
Tailwind
colors: {
  custom: {
    50: '#919fdb',
    500: '#5a79cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a79cb;
$custom-light: #919fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79cb",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 223.54,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.13073,
    "h": 266.8
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#5A79CB
secondary
#D7CBAA
accent
#B44CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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