#5979BF#5979BF

#5979BF is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.3% C 0.114 H 264.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5979BF
RGBrgb(89, 121, 191)
HSLhsl(221, 44%, 55%)
HSVhsv(221, 53%, 75%)
CMYKcmyk(53.4%, 36.6%, 0%, 25.1%)
CIE-LABlab(51.33, 8.92, -40.22)
CIE-LCHlch(51.33, 41.20, 282.51°)
OKLaboklab(58.34% -0.0109 -0.1137)
OKLCHoklch(58.34% 0.114 264.5)
XYZxyz(20.3580, 19.5587, 51.9825)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979BF #BF9F59
analogous
#59ACBF #5979BF #6C59BF
triadic
#5979BF #BF5979 #79BF59
tetradic
#5979BF #BF59AC #BF9F59 #59BF6C
square
#5979BF #BF59AC #BF9F59 #59BF6C
split-complementary
#5979BF #BF6C59 #ACBF59
monochromatic
#2C4272 #3D5B9E #5979BF #859DD0 #B1C0E1

Accessibility & contrast

On white

4.28
#5979BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5979BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979BF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979BF#FFFFFF#000000##000000
##5979BF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#248893
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5979bf;
/* rgb */ color: rgb(89, 121, 191);
/* oklch */ color: oklch(58.3% 0.114 264.5);
Tailwind
colors: {
  custom: {
    50: '#8e9fd2',
    500: '#5979bf',
    950: '#000000',
  },
}
SCSS
$custom: #5979bf;
$custom-light: #8e9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5979bf",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 221.176,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.11419,
    "h": 264.5
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#5979BF
secondary
#CFC2A4
accent
#AC54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5979BF

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

Preview Lab → · Contrast checker → · Palette generator →

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