#5972CD#5972CD

#5972CD is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.7% C 0.143 H 269.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5972CD
RGBrgb(89, 114, 205)
HSLhsl(227, 54%, 58%)
HSVhsv(227, 57%, 80%)
CMYKcmyk(56.6%, 44.4%, 0%, 19.6%)
CIE-LABlab(50.17, 17.77, -50.07)
CIE-LCHlch(50.17, 53.13, 289.54°)
OKLaboklab(57.69% -0.0002 -0.1426)
OKLCHoklch(57.69% 0.143 269.9)
XYZxyz(21.1529, 18.5647, 60.2144)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972CD #CDB459
analogous
#59ACCD #5972CD #7A59CD
triadic
#5972CD #CD5972 #72CD59
tetradic
#5972CD #CD59AC #CDB459 #59CD7A
square
#5972CD #CD59AC #CDB459 #59CD7A
split-complementary
#5972CD #CD7A59 #ACCD59
monochromatic
#283C84 #3651B3 #5972CD #889ADB #B7C2E9

Accessibility & contrast

On white

4.46
#5972CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5972CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972CD#FFFFFF#000000##000000
##5972CD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD0
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#0B8695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5972cd;
/* rgb */ color: rgb(89, 114, 205);
/* oklch */ color: oklch(57.7% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#909add',
    500: '#5972cd',
    950: '#000000',
  },
}
SCSS
$custom: #5972cd;
$custom-light: #909add;
$custom-dark: #000000;
JSON
{
  "hex": "#5972cd",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 227.069,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.14257,
    "h": 269.9
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#5972CD
secondary
#D8CEAA
accent
#BE4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5972CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5972CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva