#5979E7#5979E7

#5979E7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.170 H 268.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5979E7
RGBrgb(89, 121, 231)
HSLhsl(226, 75%, 63%)
HSVhsv(226, 61%, 91%)
CMYKcmyk(61.5%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.56, 22.12, -59.33)
CIE-LCHlch(53.56, 63.32, 290.44°)
OKLaboklab(60.77% -0.0037 -0.1697)
OKLCHoklch(60.77% 0.17 268.7)
XYZxyz(25.3761, 21.5659, 78.4112)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979E7 #E7C759
analogous
#59C0E7 #5979E7 #8059E7
triadic
#5979E7 #E75979 #79E759
tetradic
#5979E7 #E759C0 #E7C759 #59E780
square
#5979E7 #E759C0 #E7C759 #59E780
split-complementary
#5979E7 #E78059 #C0E759
monochromatic
#193AAD #244EDF #5979E7 #8EA4EF #C4CFF6

Accessibility & contrast

On white

3.95
#5979E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5979E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979E7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979E7#FFFFFF#000000##000000
##5979E71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5979e7;
/* rgb */ color: rgb(89, 121, 231);
/* oklch */ color: oklch(60.8% 0.170 268.7);
Tailwind
colors: {
  custom: {
    50: '#949fef',
    500: '#5979e7',
    950: '#000000',
  },
}
SCSS
$custom: #5979e7;
$custom-light: #949fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5979e7",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 226.479,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.16974,
    "h": 268.7
  },
  "luminance": 0.21568
}

Semantic roles & 50–950 ramp

primary
#5979E7
secondary
#E8DCB4
accent
#AA0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5979E7

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

Preview Lab → · Contrast checker → · Palette generator →

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