#5979E6#5979E6

#5979E6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.168 H 268.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5979E6
RGBrgb(89, 121, 230)
HSLhsl(226, 74%, 63%)
HSVhsv(226, 61%, 90%)
CMYKcmyk(61.3%, 47.4%, 0%, 9.8%)
CIE-LABlab(53.50, 21.78, -58.87)
CIE-LCHlch(53.50, 62.77, 290.30°)
OKLaboklab(60.71% -0.0039 -0.1683)
OKLCHoklch(60.71% 0.168 268.7)
XYZxyz(25.2353, 21.5096, 77.6695)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979E6 #E6C659
analogous
#59BFE6 #5979E6 #7F59E6
triadic
#5979E6 #E65979 #79E659
tetradic
#5979E6 #E659BF #E6C659 #59E67F
square
#5979E6 #E659BF #E6C659 #59E67F
split-complementary
#5979E6 #E67F59 #BFE659
monochromatic
#1A3BAB #244EDE #5979E6 #8EA4EE #C3CFF6

Accessibility & contrast

On white

3.96
#5979E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5979E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979E6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979E6#FFFFFF#000000##000000
##5979E61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286EA
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5979e6;
/* rgb */ color: rgb(89, 121, 230);
/* oklch */ color: oklch(60.7% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#949fee',
    500: '#5979e6',
    950: '#000000',
  },
}
SCSS
$custom: #5979e6;
$custom-light: #949fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5979e6",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 226.383,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.16838,
    "h": 268.7
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#5979E6
secondary
#E7DBB4
accent
#A910D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5979E6

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

Preview Lab → · Contrast checker → · Palette generator →

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