#5A79D5#5A79D5

#5A79D5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.145 H 267.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5A79D5
RGBrgb(90, 121, 213)
HSLhsl(225, 59%, 59%)
HSVhsv(225, 58%, 84%)
CMYKcmyk(57.7%, 43.2%, 0%, 16.5%)
CIE-LABlab(52.57, 16.31, -50.80)
CIE-LCHlch(52.57, 53.35, 287.80°)
OKLaboklab(59.69% -0.0054 -0.1446)
OKLCHoklch(59.69% 0.145 267.8)
XYZxyz(23.0600, 20.6507, 65.7087)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79D5 #D5B65A
analogous
#5AB7D5 #5A79D5 #795AD5
triadic
#5A79D5 #D55A79 #79D55A
tetradic
#5A79D5 #D55AB7 #D5B65A #5AD579
square
#5A79D5 #D55AB7 #D5B65A #5AD579
split-complementary
#5A79D5 #D5795A #B7D55A
monochromatic
#254090 #3155C1 #5A79D5 #8BA1E1 #BCC8EE

Accessibility & contrast

On white

4.09
#5A79D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5A79D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79D5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79D5#FFFFFF#000000##000000
##5A79D51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D9
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a79d5;
/* rgb */ color: rgb(90, 121, 213);
/* oklch */ color: oklch(59.7% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#929fe2',
    500: '#5a79d5',
    950: '#000000',
  },
}
SCSS
$custom: #5a79d5;
$custom-light: #929fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79d5",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 224.878,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.14471,
    "h": 267.8
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#5A79D5
secondary
#DDD1AD
accent
#BB45E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A79D5

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

Preview Lab → · Contrast checker → · Palette generator →

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