#5D79A2#5D79A2

#5D79A2 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.1% C 0.072 H 257.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5D79A2
RGBrgb(93, 121, 162)
HSLhsl(216, 27%, 50%)
HSVhsv(216, 43%, 64%)
CMYKcmyk(42.6%, 25.3%, 0%, 36.5%)
CIE-LABlab(50.23, 0.98, -25.16)
CIE-LCHlch(50.23, 25.18, 272.24°)
OKLaboklab(57.1% -0.0151 -0.07)
OKLCHoklch(57.1% 0.072 257.8)
XYZxyz(17.8711, 18.6095, 36.8257)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79A2 #A2865D
analogous
#5D9CA2 #5D79A2 #635DA2
triadic
#5D79A2 #A25D79 #79A25D
tetradic
#5D79A2 #A25D9C #A2865D #5DA263
square
#5D79A2 #A25D9C #A2865D #5DA263
split-complementary
#5D79A2 #A2635D #9CA25D
monochromatic
#303F54 #475C7B #5D79A2 #8499B8 #ABB9CF

Accessibility & contrast

On white

4.45
#5D79A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5D79A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79A2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79A2#FFFFFF#000000##000000
##5D79A21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#6275A1
Tritanopia (blue-blind)
#448287
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d79a2;
/* rgb */ color: rgb(93, 121, 162);
/* oklch */ color: oklch(57.1% 0.072 257.8);
Tailwind
colors: {
  custom: {
    50: '#8e9fbd',
    500: '#5d79a2',
    950: '#000000',
  },
}
SCSS
$custom: #5d79a2;
$custom-light: #8e9fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79a2",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 215.652,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.57098,
    "c": 0.07165,
    "h": 257.8
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#5D79A2
secondary
#BDB09E
accent
#9D64C3
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5D79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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