#5979C8#5979C8

#5979C8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.127 H 266.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5979C8
RGBrgb(89, 121, 200)
HSLhsl(223, 50%, 57%)
HSVhsv(223, 56%, 78%)
CMYKcmyk(55.5%, 39.5%, 0%, 21.6%)
CIE-LABlab(51.80, 11.84, -44.63)
CIE-LCHlch(51.80, 46.17, 284.85°)
OKLaboklab(58.85% -0.0089 -0.1266)
OKLCHoklch(58.85% 0.127 266)
XYZxyz(21.3790, 19.9671, 57.3598)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979C8 #C8A859
analogous
#59B0C8 #5979C8 #7159C8
triadic
#5979C8 #C85979 #79C859
tetradic
#5979C8 #C859B0 #C8A859 #59C871
square
#5979C8 #C859B0 #C8A859 #59C871
split-complementary
#5979C8 #C87159 #B0C859
monochromatic
#29427D #395AAB #5979C8 #879ED7 #B5C3E6

Accessibility & contrast

On white

4.21
#5979C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5979C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979C8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979C8#FFFFFF#000000##000000
##5979C81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#4B77C6
Tritanopia (blue-blind)
#158A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5979c8;
/* rgb */ color: rgb(89, 121, 200);
/* oklch */ color: oklch(58.9% 0.127 266.0);
Tailwind
colors: {
  custom: {
    50: '#909fd9',
    500: '#5979c8',
    950: '#000000',
  },
}
SCSS
$custom: #5979c8;
$custom-light: #909fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5979c8",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 222.703,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.12687,
    "h": 266
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#5979C8
secondary
#D5C8A8
accent
#B14EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5979C8

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

Preview Lab → · Contrast checker → · Palette generator →

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