#5978DA#5978DA

#5978DA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.153 H 268.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5978DA
RGBrgb(89, 120, 218)
HSLhsl(226, 64%, 60%)
HSVhsv(226, 59%, 85%)
CMYKcmyk(59.2%, 45%, 0%, 14.5%)
CIE-LABlab(52.53, 18.38, -53.69)
CIE-LCHlch(52.53, 56.75, 288.90°)
OKLaboklab(59.74% -0.0045 -0.1531)
OKLCHoklch(59.74% 0.153 268.3)
XYZxyz(23.4869, 20.6168, 69.0578)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978DA #DABB59
analogous
#59B9DA #5978DA #7A59DA
triadic
#5978DA #DA5978 #78DA59
tetradic
#5978DA #DA59B9 #DABB59 #59DA7A
square
#5978DA #DA59B9 #DABB59 #59DA7A
split-complementary
#5978DA #DA7A59 #B9DA59
monochromatic
#223E97 #2D52C9 #5978DA #8BA1E5 #BDC9F0

Accessibility & contrast

On white

4.10
#5978DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5978DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978DA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978DA#FFFFFF#000000##000000
##5978DA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5978da;
/* rgb */ color: rgb(89, 120, 218);
/* oklch */ color: oklch(59.7% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#929ee6',
    500: '#5978da',
    950: '#000000',
  },
}
SCSS
$custom: #5978da;
$custom-light: #929ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5978da",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 225.581,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.15319,
    "h": 268.3
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#5978DA
secondary
#E0D4AF
accent
#A11ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5978DA

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

Preview Lab → · Contrast checker → · Palette generator →

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