#5979D6#5979D6

#5979D6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.146 H 267.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5979D6
RGBrgb(89, 121, 214)
HSLhsl(225, 60%, 59%)
HSVhsv(225, 58%, 84%)
CMYKcmyk(58.4%, 43.5%, 0%, 16.1%)
CIE-LABlab(52.57, 16.44, -51.36)
CIE-LCHlch(52.57, 53.93, 287.75°)
OKLaboklab(59.69% -0.0062 -0.1463)
OKLCHoklch(59.69% 0.146 267.6)
XYZxyz(23.0907, 20.6518, 66.3747)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979D6 #D6B659
analogous
#59B8D6 #5979D6 #7859D6
triadic
#5979D6 #D65979 #79D659
tetradic
#5979D6 #D659B8 #D6B659 #59D678
square
#5979D6 #D659B8 #D6B659 #59D678
split-complementary
#5979D6 #D67859 #B8D659
monochromatic
#244091 #3055C2 #5979D6 #8AA1E2 #BBC8EE

Accessibility & contrast

On white

4.09
#5979D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5979D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979D6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979D6#FFFFFF#000000##000000
##5979D61.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83DA
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5979d6;
/* rgb */ color: rgb(89, 121, 214);
/* oklch */ color: oklch(59.7% 0.146 267.6);
Tailwind
colors: {
  custom: {
    50: '#929fe3',
    500: '#5979d6',
    950: '#000000',
  },
}
SCSS
$custom: #5979d6;
$custom-light: #929fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#5979d6",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 224.64,
    "s": 60.386,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.14642,
    "h": 267.6
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#5979D6
secondary
#DED1AD
accent
#BB44E4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5979D6

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

Preview Lab → · Contrast checker → · Palette generator →

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