#5972E7#5972E7

#5972E7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.178 H 271.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5972E7
RGBrgb(89, 114, 231)
HSLhsl(229, 75%, 63%)
HSVhsv(229, 61%, 91%)
CMYKcmyk(61.5%, 50.6%, 0%, 9.4%)
CIE-LABlab(51.75, 26.41, -62.24)
CIE-LCHlch(51.75, 67.62, 292.99°)
OKLaboklab(59.4% 0.003 -0.1784)
OKLCHoklch(59.4% 0.178 271)
XYZxyz(24.5561, 19.9259, 78.1378)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972E7 #E7CE59
analogous
#59B9E7 #5972E7 #8759E7
triadic
#5972E7 #E75972 #72E759
tetradic
#5972E7 #E759B9 #E7CE59 #59E787
square
#5972E7 #E759B9 #E7CE59 #59E787
split-complementary
#5972E7 #E78759 #B9E759
monochromatic
#1933AD #2445DF #5972E7 #8E9FEF #C4CDF6

Accessibility & contrast

On white

4.21
#5972E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5972E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972E7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972E7#FFFFFF#000000##000000
##5972E71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5972e7;
/* rgb */ color: rgb(89, 114, 231);
/* oklch */ color: oklch(59.4% 0.178 271.0);
Tailwind
colors: {
  custom: {
    50: '#949aef',
    500: '#5972e7',
    950: '#000000',
  },
}
SCSS
$custom: #5972e7;
$custom-light: #949aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5972e7",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 229.437,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.17839,
    "h": 271
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#5972E7
secondary
#E8DFB4
accent
#B40FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5972E7

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

Preview Lab → · Contrast checker → · Palette generator →

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