#5979CE#5979CE

#5979CE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.135 H 266.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5979CE
RGBrgb(89, 121, 206)
HSLhsl(224, 54%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(56.8%, 41.3%, 0%, 19.2%)
CIE-LABlab(52.12, 13.80, -47.54)
CIE-LCHlch(52.12, 49.50, 286.19°)
OKLaboklab(59.21% -0.0077 -0.1351)
OKLCHoklch(59.21% 0.135 266.7)
XYZxyz(22.0940, 20.2531, 61.1255)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979CE #CEAE59
analogous
#59B3CE #5979CE #7359CE
triadic
#5979CE #CE5979 #79CE59
tetradic
#5979CE #CE59B3 #CEAE59 #59CE73
square
#5979CE #CE59B3 #CEAE59 #59CE73
split-complementary
#5979CE #CE7359 #B3CE59
monochromatic
#274185 #3558B5 #5979CE #889FDC #B8C5EA

Accessibility & contrast

On white

4.16
#5979CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5979CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979CE#FFFFFF#000000##000000
##5979CE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#018C99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5979ce;
/* rgb */ color: rgb(89, 121, 206);
/* oklch */ color: oklch(59.2% 0.135 266.7);
Tailwind
colors: {
  custom: {
    50: '#909fdd',
    500: '#5979ce',
    950: '#000000',
  },
}
SCSS
$custom: #5979ce;
$custom-light: #909fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5979ce",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 223.59,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.13528,
    "h": 266.7
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#5979CE
secondary
#D9CCAA
accent
#B54ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5979CE

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

Preview Lab → · Contrast checker → · Palette generator →

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