#5979EA#5979EA

#5979EA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.174 H 268.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5979EA
RGBrgb(89, 121, 234)
HSLhsl(227, 78%, 63%)
HSVhsv(227, 62%, 92%)
CMYKcmyk(62%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.75, 23.12, -60.71)
CIE-LCHlch(53.75, 64.97, 290.85°)
OKLaboklab(60.97% -0.0034 -0.1738)
OKLCHoklch(60.97% 0.174 268.9)
XYZxyz(25.8034, 21.7369, 80.6618)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979EA #EACA59
analogous
#59C1EA #5979EA #8159EA
triadic
#5979EA #EA5979 #79EA59
tetradic
#5979EA #EA59C1 #EACA59 #59EA81
square
#5979EA #EA59C1 #EACA59 #59EA81
split-complementary
#5979EA #EA8159 #C1EA59
monochromatic
#1739B2 #234DE3 #5979EA #8FA5F1 #C6D1F8

Accessibility & contrast

On white

3.93
#5979EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5979EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979EA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979EA#FFFFFF#000000##000000
##5979EA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5979ea;
/* rgb */ color: rgb(89, 121, 234);
/* oklch */ color: oklch(61.0% 0.174 268.9);
Tailwind
colors: {
  custom: {
    50: '#959ff1',
    500: '#5979ea',
    950: '#000000',
  },
}
SCSS
$custom: #5979ea;
$custom-light: #959ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5979ea",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 226.759,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.1738,
    "h": 268.9
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#5979EA
secondary
#E9DEB6
accent
#AC0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5979EA

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

Preview Lab → · Contrast checker → · Palette generator →

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