#5979BC#5979BC

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

Color values

HEX#5979BC
RGBrgb(89, 121, 188)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 53%, 74%)
CMYKcmyk(52.7%, 35.6%, 0%, 26.3%)
CIE-LABlab(51.18, 7.96, -38.73)
CIE-LCHlch(51.18, 39.54, 281.62°)
OKLaboklab(58.17% -0.0116 -0.1093)
OKLCHoklch(58.17% 0.11 263.9)
XYZxyz(20.0313, 19.4280, 50.2616)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979BC #BC9C59
analogous
#59ABBC #5979BC #6B59BC
triadic
#5979BC #BC5979 #79BC59
tetradic
#5979BC #BC59AB #BC9C59 #59BC6B
square
#5979BC #BC59AB #BC9C59 #59BC6B
split-complementary
#5979BC #BC6B59 #ABBC59
monochromatic
#2C426E #3E5C9A #5979BC #859CCE #B0BFDF

Accessibility & contrast

On white

4.30
#5979BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5979BC#FFFFFF#000000##000000
##5979BC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#288892
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5979bc;
/* rgb */ color: rgb(89, 121, 188);
/* oklch */ color: oklch(58.2% 0.110 263.9);
Tailwind
colors: {
  custom: {
    50: '#8e9fd0',
    500: '#5979bc',
    950: '#000000',
  },
}
SCSS
$custom: #5979bc;
$custom-light: #8e9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5979bc",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 220.606,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.10996,
    "h": 263.9
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#5979BC
secondary
#CDC0A3
accent
#AA56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5979BC

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

Preview Lab → · Contrast checker → · Palette generator →

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