#5978BB#5978BB

#5978BB is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.9% C 0.110 H 264.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5978BB
RGBrgb(89, 120, 187)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 52%, 73%)
CMYKcmyk(52.4%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.85, 8.25, -38.68)
CIE-LCHlch(50.85, 39.55, 282.04°)
OKLaboklab(57.9% -0.0107 -0.1092)
OKLCHoklch(57.9% 0.11 264.4)
XYZxyz(19.8029, 19.1432, 49.6556)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978BB #BB9C59
analogous
#59A9BB #5978BB #6B59BB
triadic
#5978BB #BB5978 #78BB59
tetradic
#5978BB #BB59A9 #BB9C59 #59BB6B
square
#5978BB #BB59A9 #BB9C59 #59BB6B
split-complementary
#5978BB #BB6B59 #A9BB59
monochromatic
#2D416D #3E5B98 #5978BB #849BCD #B0BFDF

Accessibility & contrast

On white

4.35
#5978BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5978BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978BB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978BB#FFFFFF#000000##000000
##5978BB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#298791
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5978bb;
/* rgb */ color: rgb(89, 120, 187);
/* oklch */ color: oklch(57.9% 0.110 264.4);
Tailwind
colors: {
  custom: {
    50: '#8e9ed0',
    500: '#5978bb',
    950: '#000000',
  },
}
SCSS
$custom: #5978bb;
$custom-light: #8e9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5978bb",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 221.02,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.10971,
    "h": 264.4
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#5978BB
secondary
#CDC0A3
accent
#AB56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5978BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5978BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva