#5978CF#5978CF

#5978CF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.138 H 267.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5978CF
RGBrgb(89, 120, 207)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 57%, 81%)
CMYKcmyk(57%, 42%, 0%, 18.8%)
CIE-LABlab(51.91, 14.74, -48.45)
CIE-LCHlch(51.91, 50.64, 286.92°)
OKLaboklab(59.06% -0.0064 -0.1377)
OKLCHoklch(59.06% 0.138 267.3)
XYZxyz(22.0950, 20.0601, 61.7270)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5978CF #CFB059
analogous
#59B3CF #5978CF #7559CF
triadic
#5978CF #CF5978 #78CF59
tetradic
#5978CF #CF59B3 #CFB059 #59CF75
square
#5978CF #CF59B3 #CFB059 #59CF75
split-complementary
#5978CF #CF7559 #B3CF59
monochromatic
#274087 #3557B6 #5978CF #889FDD #B8C5EA

Accessibility & contrast

On white

4.19
#5978CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5978CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5978CF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5978CF#FFFFFF#000000##000000
##5978CF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5978cf;
/* rgb */ color: rgb(89, 120, 207);
/* oklch */ color: oklch(59.1% 0.138 267.3);
Tailwind
colors: {
  custom: {
    50: '#919ede',
    500: '#5978cf',
    950: '#000000',
  },
}
SCSS
$custom: #5978cf;
$custom-light: #919ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5978cf",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 224.237,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.1379,
    "h": 267.3
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#5978CF
secondary
#D9CDAA
accent
#B749DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5978CF

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

Preview Lab → · Contrast checker → · Palette generator →

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