#5979E9#5979E9

#5979E9 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.172 H 268.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5979E9
RGBrgb(89, 121, 233)
HSLhsl(227, 77%, 63%)
HSVhsv(227, 62%, 91%)
CMYKcmyk(61.8%, 48.1%, 0%, 8.6%)
CIE-LABlab(53.69, 22.79, -60.25)
CIE-LCHlch(53.69, 64.42, 290.72°)
OKLaboklab(60.91% -0.0035 -0.1724)
OKLCHoklch(60.91% 0.172 268.8)
XYZxyz(25.6602, 21.6796, 79.9073)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979E9 #E9C959
analogous
#59C1E9 #5979E9 #8159E9
triadic
#5979E9 #E95979 #79E959
tetradic
#5979E9 #E959C1 #E9C959 #59E981
square
#5979E9 #E959C1 #E9C959 #59E981
split-complementary
#5979E9 #E98159 #C1E959
monochromatic
#1739B0 #234DE2 #5979E9 #8FA5F0 #C5D0F7

Accessibility & contrast

On white

3.94
#5979E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5979E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979E9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979E9#FFFFFF#000000##000000
##5979E91.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5979e9;
/* rgb */ color: rgb(89, 121, 233);
/* oklch */ color: oklch(60.9% 0.172 268.8);
Tailwind
colors: {
  custom: {
    50: '#959ff1',
    500: '#5979e9',
    950: '#000000',
  },
}
SCSS
$custom: #5979e9;
$custom-light: #959ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5979e9",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 233
  },
  "hsl": {
    "h": 226.667,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.17246,
    "h": 268.8
  },
  "luminance": 0.21682
}

Semantic roles & 50–950 ramp

primary
#5979E9
secondary
#E9DDB5
accent
#AB0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5979E9

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

Preview Lab → · Contrast checker → · Palette generator →

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