#5A79DA#5A79DA

#5A79DA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.152 H 268.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A79DA
RGBrgb(90, 121, 218)
HSLhsl(225, 63%, 60%)
HSVhsv(225, 59%, 85%)
CMYKcmyk(58.7%, 44.5%, 0%, 14.5%)
CIE-LABlab(52.85, 17.96, -53.17)
CIE-LCHlch(52.85, 56.12, 288.67°)
OKLaboklab(60% -0.0046 -0.1516)
OKLCHoklch(60% 0.152 268.3)
XYZxyz(23.7044, 20.9084, 69.1026)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79DA #DABB5A
analogous
#5AB9DA #5A79DA #7B5ADA
triadic
#5A79DA #DA5A79 #79DA5A
tetradic
#5A79DA #DA5AB9 #DABB5A #5ADA7B
square
#5A79DA #DA5AB9 #DABB5A #5ADA7B
split-complementary
#5A79DA #DA7B5A #B9DA5A
monochromatic
#223E98 #2D53CA #5A79DA #8CA2E5 #BECAF0

Accessibility & contrast

On white

4.05
#5A79DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5A79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79DA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79DA#FFFFFF#000000##000000
##5A79DA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a79da;
/* rgb */ color: rgb(90, 121, 218);
/* oklch */ color: oklch(60.0% 0.152 268.3);
Tailwind
colors: {
  custom: {
    50: '#939fe6',
    500: '#5a79da',
    950: '#000000',
  },
}
SCSS
$custom: #5a79da;
$custom-light: #939fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79da",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 225.469,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.15164,
    "h": 268.3
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#5A79DA
secondary
#E0D5AF
accent
#A01ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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