#5A79DD#5A79DD

#5A79DD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.156 H 268.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A79DD
RGBrgb(90, 121, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 59%, 87%)
CMYKcmyk(59.3%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.02, 18.96, -54.58)
CIE-LCHlch(53.02, 57.78, 289.15°)
OKLaboklab(60.18% -0.0041 -0.1557)
OKLCHoklch(60.18% 0.156 268.5)
XYZxyz(24.1006, 21.0669, 71.1889)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79DD #DDBE5A
analogous
#5ABADD #5A79DD #7C5ADD
triadic
#5A79DD #DD5A79 #79DD5A
tetradic
#5A79DD #DD5ABA #DDBE5A #5ADD7C
square
#5A79DD #DD5ABA #DDBE5A #5ADD7C
split-complementary
#5A79DD #DD7C5A #BADD5A
monochromatic
#203E9C #2B52CF #5A79DD #8DA2E7 #BFCBF2

Accessibility & contrast

On white

4.03
#5A79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5A79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79DD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79DD#FFFFFF#000000##000000
##5A79DD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a79dd;
/* rgb */ color: rgb(90, 121, 221);
/* oklch */ color: oklch(60.2% 0.156 268.5);
Tailwind
colors: {
  custom: {
    50: '#939fe8',
    500: '#5a79dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a79dd;
$custom-light: #939fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79dd",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 225.802,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.15578,
    "h": 268.5
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#5A79DD
secondary
#E2D6B1
accent
#A318CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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