#5D79AC#5D79AC

#5D79AC is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.086 H 261.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D79AC
RGBrgb(93, 121, 172)
HSLhsl(219, 32%, 52%)
HSVhsv(219, 46%, 67%)
CMYKcmyk(45.9%, 29.7%, 0%, 32.5%)
CIE-LABlab(50.66, 3.96, -30.30)
CIE-LCHlch(50.66, 30.56, 277.45°)
OKLaboklab(57.58% -0.012 -0.0848)
OKLCHoklch(57.58% 0.086 261.9)
XYZxyz(18.7955, 18.9793, 41.6947)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79AC #AC905D
analogous
#5DA1AC #5D79AC #695DAC
triadic
#5D79AC #AC5D79 #79AC5D
tetradic
#5D79AC #AC5DA1 #AC905D #5DAC69
square
#5D79AC #AC5DA1 #AC905D #5DAC69
split-complementary
#5D79AC #AC695D #A1AC5D
monochromatic
#30415E #455C87 #5D79AC #859AC1 #AEBCD5

Accessibility & contrast

On white

4.38
#5D79AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5D79AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79AC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79AC#FFFFFF#000000##000000
##5D79AC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667DAE
Deuteranopia (green-blind)
#5E75AB
Tritanopia (blue-blind)
#3F848B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d79ac;
/* rgb */ color: rgb(93, 121, 172);
/* oklch */ color: oklch(57.6% 0.086 261.9);
Tailwind
colors: {
  custom: {
    50: '#8f9fc5',
    500: '#5d79ac',
    950: '#000000',
  },
}
SCSS
$custom: #5d79ac;
$custom-light: #8f9fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79ac",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 218.734,
    "s": 32.245,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.08565,
    "h": 261.9
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#5D79AC
secondary
#C4B7A1
accent
#A35FC8
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5D79AC

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

Preview Lab → · Contrast checker → · Palette generator →

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