#5979DD#5979DD

#5979DD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.156 H 268.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5979DD
RGBrgb(89, 121, 221)
HSLhsl(225, 66%, 61%)
HSVhsv(225, 60%, 87%)
CMYKcmyk(59.7%, 45.2%, 0%, 13.3%)
CIE-LABlab(52.97, 18.77, -54.67)
CIE-LCHlch(52.97, 57.80, 288.95°)
OKLaboklab(60.13% -0.0051 -0.156)
OKLCHoklch(60.13% 0.156 268.1)
XYZxyz(24.0039, 21.0171, 71.1843)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979DD #DDBD59
analogous
#59BBDD #5979DD #7B59DD
triadic
#5979DD #DD5979 #79DD59
tetradic
#5979DD #DD59BB #DDBD59 #59DD7B
square
#5979DD #DD59BB #DDBD59 #59DD7B
split-complementary
#5979DD #DD7B59 #BBDD59
monochromatic
#203E9C #2A52CF #5979DD #8CA2E7 #BFCBF2

Accessibility & contrast

On white

4.04
#5979DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5979DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979DD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979DD#FFFFFF#000000##000000
##5979DD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5979dd;
/* rgb */ color: rgb(89, 121, 221);
/* oklch */ color: oklch(60.1% 0.156 268.1);
Tailwind
colors: {
  custom: {
    50: '#939fe8',
    500: '#5979dd',
    950: '#000000',
  },
}
SCSS
$custom: #5979dd;
$custom-light: #939fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5979dd",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 225.455,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.15608,
    "h": 268.1
  },
  "luminance": 0.21019
}

Semantic roles & 50–950 ramp

primary
#5979DD
secondary
#E2D6B0
accent
#A218CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5979DD

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

Preview Lab → · Contrast checker → · Palette generator →

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