#5979ED#5979ED

#5979ED is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.178 H 269.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5979ED
RGBrgb(89, 121, 237)
HSLhsl(227, 80%, 64%)
HSVhsv(227, 62%, 93%)
CMYKcmyk(62.4%, 48.9%, 0%, 7.1%)
CIE-LABlab(53.93, 24.13, -62.09)
CIE-LCHlch(53.93, 66.61, 291.24°)
OKLaboklab(61.17% -0.003 -0.1778)
OKLCHoklch(61.17% 0.178 269)
XYZxyz(26.2381, 21.9107, 82.9508)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979ED #EDCD59
analogous
#59C3ED #5979ED #8359ED
triadic
#5979ED #ED5979 #79ED59
tetradic
#5979ED #ED59C3 #EDCD59 #59ED83
square
#5979ED #ED59C3 #EDCD59 #59ED83
split-complementary
#5979ED #ED8359 #C3ED59
monochromatic
#1437B8 #224CE7 #5979ED #90A6F3 #C7D2F9

Accessibility & contrast

On white

3.90
#5979ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5979ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979ED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979ED#FFFFFF#000000##000000
##5979ED1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#167BEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5979ed;
/* rgb */ color: rgb(89, 121, 237);
/* oklch */ color: oklch(61.2% 0.178 269.0);
Tailwind
colors: {
  custom: {
    50: '#959ff3',
    500: '#5979ed',
    950: '#000000',
  },
}
SCSS
$custom: #5979ed;
$custom-light: #959ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5979ed",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 227.027,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.17785,
    "h": 269
  },
  "luminance": 0.21913
}

Semantic roles & 50–950 ramp

primary
#5979ED
secondary
#EBE0B7
accent
#AF09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5979ED

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

Preview Lab → · Contrast checker → · Palette generator →

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