#5979DF#5979DF

#5979DF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.159 H 268.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5979DF
RGBrgb(89, 121, 223)
HSLhsl(226, 68%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(60.1%, 45.7%, 0%, 12.5%)
CIE-LABlab(53.09, 19.44, -55.61)
CIE-LCHlch(53.09, 58.91, 289.27°)
OKLaboklab(60.26% -0.0048 -0.1588)
OKLCHoklch(60.26% 0.159 268.3)
XYZxyz(24.2720, 21.1243, 72.5960)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979DF #DFBF59
analogous
#59BCDF #5979DF #7C59DF
triadic
#5979DF #DF5979 #79DF59
tetradic
#5979DF #DF59BC #DFBF59 #59DF7C
square
#5979DF #DF59BC #DFBF59 #59DF7C
split-complementary
#5979DF #DF7C59 #BCDF59
monochromatic
#1F3D9F #2951D2 #5979DF #8CA2E9 #C0CCF3

Accessibility & contrast

On white

4.02
#5979DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5979DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979DF#FFFFFF#000000##000000
##5979DF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5979df;
/* rgb */ color: rgb(89, 121, 223);
/* oklch */ color: oklch(60.3% 0.159 268.3);
Tailwind
colors: {
  custom: {
    50: '#939fe9',
    500: '#5979df',
    950: '#000000',
  },
}
SCSS
$custom: #5979df;
$custom-light: #939fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5979df",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 225.672,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.15883,
    "h": 268.3
  },
  "luminance": 0.21126
}

Semantic roles & 50–950 ramp

primary
#5979DF
secondary
#E3D7B1
accent
#A316D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5979DF

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

Preview Lab → · Contrast checker → · Palette generator →

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