#5972CE#5972CE

#5972CE is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.144 H 270.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5972CE
RGBrgb(89, 114, 206)
HSLhsl(227, 54%, 58%)
HSVhsv(227, 57%, 81%)
CMYKcmyk(56.8%, 44.7%, 0%, 19.2%)
CIE-LABlab(50.23, 18.10, -50.55)
CIE-LCHlch(50.23, 53.69, 289.70°)
OKLaboklab(57.75% 0 -0.144)
OKLCHoklch(57.75% 0.144 270)
XYZxyz(21.2740, 18.6131, 60.8522)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972CE #CEB559
analogous
#59ADCE #5972CE #7A59CE
triadic
#5972CE #CE5972 #72CE59
tetradic
#5972CE #CE59AD #CEB559 #59CE7A
square
#5972CE #CE59AD #CEB559 #59CE7A
split-complementary
#5972CE #CE7A59 #ADCE59
monochromatic
#273B85 #3550B5 #5972CE #889ADC #B8C2EA

Accessibility & contrast

On white

4.45
#5972CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5972CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972CE#FFFFFF#000000##000000
##5972CE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#078696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5972ce;
/* rgb */ color: rgb(89, 114, 206);
/* oklch */ color: oklch(57.8% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#919add',
    500: '#5972ce',
    950: '#000000',
  },
}
SCSS
$custom: #5972ce;
$custom-light: #919add;
$custom-dark: #000000;
JSON
{
  "hex": "#5972ce",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 227.179,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.14398,
    "h": 270
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#5972CE
secondary
#D9CFAA
accent
#BE4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5972CE

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

Preview Lab → · Contrast checker → · Palette generator →

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