#5979BD#5979BD

#5979BD is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.2% C 0.111 H 264.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5979BD
RGBrgb(89, 121, 189)
HSLhsl(221, 43%, 55%)
HSVhsv(221, 53%, 74%)
CMYKcmyk(52.9%, 36%, 0%, 25.9%)
CIE-LABlab(51.23, 8.28, -39.23)
CIE-LCHlch(51.23, 40.09, 281.92°)
OKLaboklab(58.23% -0.0114 -0.1108)
OKLCHoklch(58.23% 0.111 264.1)
XYZxyz(20.1394, 19.4713, 50.8313)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979BD #BD9D59
analogous
#59ABBD #5979BD #6B59BD
triadic
#5979BD #BD5979 #79BD59
tetradic
#5979BD #BD59AB #BD9D59 #59BD6B
square
#5979BD #BD59AB #BD9D59 #59BD6B
split-complementary
#5979BD #BD6B59 #ABBD59
monochromatic
#2C426F #3E5C9B #5979BD #859CCE #B1C0E0

Accessibility & contrast

On white

4.29
#5979BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5979BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979BD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979BD#FFFFFF#000000##000000
##5979BD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#268892
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5979bd;
/* rgb */ color: rgb(89, 121, 189);
/* oklch */ color: oklch(58.2% 0.111 264.1);
Tailwind
colors: {
  custom: {
    50: '#8e9fd1',
    500: '#5979bd',
    950: '#000000',
  },
}
SCSS
$custom: #5979bd;
$custom-light: #8e9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5979bd",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 220.8,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.11137,
    "h": 264.1
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#5979BD
secondary
#CEC1A4
accent
#AB55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5979BD

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

Preview Lab → · Contrast checker → · Palette generator →

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