#5979AC#5979AC

#5979AC is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.3% C 0.087 H 259.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5979AC
RGBrgb(89, 121, 172)
HSLhsl(217, 33%, 51%)
HSVhsv(217, 48%, 67%)
CMYKcmyk(48.3%, 29.7%, 0%, 32.5%)
CIE-LABlab(50.42, 2.94, -30.69)
CIE-LCHlch(50.42, 30.83, 275.47°)
OKLaboklab(57.33% -0.016 -0.086)
OKLCHoklch(57.33% 0.087 259.5)
XYZxyz(18.4011, 18.7759, 41.6762)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979AC #AC8C59
analogous
#59A2AC #5979AC #6259AC
triadic
#5979AC #AC5979 #79AC59
tetradic
#5979AC #AC59A2 #AC8C59 #59AC62
square
#5979AC #AC59A2 #AC8C59 #59AC62
split-complementary
#5979AC #AC6259 #A2AC59
monochromatic
#2E405C #435C85 #5979AC #829AC0 #ABBBD5

Accessibility & contrast

On white

4.42
#5979AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5979AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979AC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979AC#FFFFFF#000000##000000
##5979AC1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#36848B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5979ac;
/* rgb */ color: rgb(89, 121, 172);
/* oklch */ color: oklch(57.3% 0.087 259.5);
Tailwind
colors: {
  custom: {
    50: '#8c9fc5',
    500: '#5979ac',
    950: '#000000',
  },
}
SCSS
$custom: #5979ac;
$custom-light: #8c9fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5979ac",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 216.867,
    "s": 33.333,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.08748,
    "h": 259.5
  },
  "luminance": 0.18777
}

Semantic roles & 50–950 ramp

primary
#5979AC
secondary
#C3B59E
accent
#A05EC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5979AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5979AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva