#5978AE#5978AE

#5978AE is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.091 H 261.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5978AE
RGBrgb(89, 120, 174)
HSLhsl(218, 34%, 52%)
HSVhsv(218, 49%, 68%)
CMYKcmyk(48.9%, 31%, 0%, 31.8%)
CIE-LABlab(50.23, 4.16, -32.15)
CIE-LCHlch(50.23, 32.42, 277.37°)
OKLaboklab(57.21% -0.0142 -0.0902)
OKLCHoklch(57.21% 0.091 261.1)
XYZxyz(18.4737, 18.6116, 42.6551)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978AE #AE8F59
analogous
#59A3AE #5978AE #6559AE
triadic
#5978AE #AE5978 #78AE59
tetradic
#5978AE #AE59A3 #AE8F59 #59AE65
square
#5978AE #AE59A3 #AE8F59 #59AE65
split-complementary
#5978AE #AE6559 #A3AE59
monochromatic
#2E405E #425C88 #5978AE #8299C2 #ABBBD6

Accessibility & contrast

On white

4.45
#5978AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5978AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978AE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978AE#FFFFFF#000000##000000
##5978AE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CB0
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#35848B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5978ae;
/* rgb */ color: rgb(89, 120, 174);
/* oklch */ color: oklch(57.2% 0.091 261.1);
Tailwind
colors: {
  custom: {
    50: '#8c9ec6',
    500: '#5978ae',
    950: '#000000',
  },
}
SCSS
$custom: #5978ae;
$custom-light: #8c9ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5978ae",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 174
  },
  "hsl": {
    "h": 218.118,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.09134,
    "h": 261.1
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5978AE

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

Preview Lab → · Contrast checker → · Palette generator →

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