#5979D9#5979D9

#5979D9 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.151 H 267.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5979D9
RGBrgb(89, 121, 217)
HSLhsl(225, 63%, 60%)
HSVhsv(225, 59%, 85%)
CMYKcmyk(59%, 44.2%, 0%, 14.9%)
CIE-LABlab(52.74, 17.44, -52.79)
CIE-LCHlch(52.74, 55.59, 288.28°)
OKLaboklab(59.88% -0.0057 -0.1505)
OKLCHoklch(59.88% 0.151 267.8)
XYZxyz(23.4774, 20.8064, 68.4110)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979D9 #D9B959
analogous
#59B9D9 #5979D9 #7959D9
triadic
#5979D9 #D95979 #79D959
tetradic
#5979D9 #D959B9 #D9B959 #59D979
square
#5979D9 #D959B9 #D9B959 #59D979
split-complementary
#5979D9 #D97959 #B9D959
monochromatic
#223F95 #2E54C7 #5979D9 #8BA1E4 #BDC9F0

Accessibility & contrast

On white

4.07
#5979D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5979D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979D9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979D9#FFFFFF#000000##000000
##5979D91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DD
Deuteranopia (green-blind)
#3B78D7
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5979d9;
/* rgb */ color: rgb(89, 121, 217);
/* oklch */ color: oklch(59.9% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#929fe5',
    500: '#5979d9',
    950: '#000000',
  },
}
SCSS
$custom: #5979d9;
$custom-light: #929fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5979d9",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 225,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.15058,
    "h": 267.8
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#5979D9
secondary
#E0D3AE
accent
#BD42E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5979D9

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

Preview Lab → · Contrast checker → · Palette generator →

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