#5A79CD#5A79CD

#5A79CD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.134 H 267.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5A79CD
RGBrgb(90, 121, 205)
HSLhsl(224, 53%, 58%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(56.1%, 41%, 0%, 19.6%)
CIE-LABlab(52.12, 13.68, -46.96)
CIE-LCHlch(52.12, 48.91, 286.24°)
OKLaboklab(59.2% -0.0069 -0.1334)
OKLCHoklch(59.2% 0.134 267)
XYZxyz(22.0696, 20.2545, 60.4923)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79CD #CDAE5A
analogous
#5AB2CD #5A79CD #745ACD
triadic
#5A79CD #CD5A79 #79CD5A
tetradic
#5A79CD #CD5AB2 #CDAE5A #5ACD74
square
#5A79CD #CD5AB2 #CDAE5A #5ACD74
split-complementary
#5A79CD #CD745A #B2CD5A
monochromatic
#284184 #3658B3 #5A79CD #899FDB #B8C5E9

Accessibility & contrast

On white

4.16
#5A79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5A79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79CD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79CD#FFFFFF#000000##000000
##5A79CD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#0E8B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a79cd;
/* rgb */ color: rgb(90, 121, 205);
/* oklch */ color: oklch(59.2% 0.134 267.0);
Tailwind
colors: {
  custom: {
    50: '#919fdd',
    500: '#5a79cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a79cd;
$custom-light: #919fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79cd",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 223.826,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.13354,
    "h": 267
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#5A79CD
secondary
#D8CCAA
accent
#B64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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