#5978DD#5978DD

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

Color values

HEX#5978DD
RGBrgb(89, 120, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 60%, 87%)
CMYKcmyk(59.7%, 45.7%, 0%, 13.3%)
CIE-LABlab(52.70, 19.38, -55.10)
CIE-LCHlch(52.70, 58.41, 289.38°)
OKLaboklab(59.93% -0.0041 -0.1573)
OKLCHoklch(59.93% 0.157 268.5)
XYZxyz(23.8830, 20.7753, 71.1440)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978DD #DDBE59
analogous
#59BADD #5978DD #7C59DD
triadic
#5978DD #DD5978 #78DD59
tetradic
#5978DD #DD59BA #DDBE59 #59DD7C
square
#5978DD #DD59BA #DDBE59 #59DD7C
split-complementary
#5978DD #DD7C59 #BADD59
monochromatic
#203D9C #2A51CF #5978DD #8CA1E7 #BFCBF2

Accessibility & contrast

On white

4.07
#5978DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5978DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978DD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978DD#FFFFFF#000000##000000
##5978DD1.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)
#4884E1
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5978dd;
/* rgb */ color: rgb(89, 120, 221);
/* oklch */ color: oklch(59.9% 0.157 268.5);
Tailwind
colors: {
  custom: {
    50: '#939ee8',
    500: '#5978dd',
    950: '#000000',
  },
}
SCSS
$custom: #5978dd;
$custom-light: #939ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5978dd",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 225.909,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.15732,
    "h": 268.5
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5978DD

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

Preview Lab → · Contrast checker → · Palette generator →

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