#5979AE#5979AE

#5979AE is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.4% C 0.090 H 260.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5979AE
RGBrgb(89, 121, 174)
HSLhsl(217, 34%, 52%)
HSVhsv(217, 49%, 68%)
CMYKcmyk(48.9%, 30.5%, 0%, 31.8%)
CIE-LABlab(50.52, 3.56, -31.71)
CIE-LCHlch(50.52, 31.90, 276.40°)
OKLaboklab(57.43% -0.0154 -0.0889)
OKLCHoklch(57.43% 0.09 260.2)
XYZxyz(18.5946, 18.8533, 42.6954)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979AE #AE8E59
analogous
#59A4AE #5979AE #6459AE
triadic
#5979AE #AE5979 #79AE59
tetradic
#5979AE #AE59A4 #AE8E59 #59AE64
square
#5979AE #AE59A4 #AE8E59 #59AE64
split-complementary
#5979AE #AE6459 #A4AE59
monochromatic
#2E405E #425C88 #5979AE #829AC2 #ABBBD6

Accessibility & contrast

On white

4.40
#5979AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5979AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979AE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979AE#FFFFFF#000000##000000
##5979AE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB0
Deuteranopia (green-blind)
#5B75AD
Tritanopia (blue-blind)
#35848C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5979ae;
/* rgb */ color: rgb(89, 121, 174);
/* oklch */ color: oklch(57.4% 0.090 260.2);
Tailwind
colors: {
  custom: {
    50: '#8c9fc6',
    500: '#5979ae',
    950: '#000000',
  },
}
SCSS
$custom: #5979ae;
$custom-light: #8c9fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5979ae",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 174
  },
  "hsl": {
    "h": 217.412,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57434,
    "c": 0.09027,
    "h": 260.2
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#5979AE
secondary
#C4B69F
accent
#A15DCA
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5979AE

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

Preview Lab → · Contrast checker → · Palette generator →

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