#5972E6#5972E6

#5972E6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.177 H 270.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5972E6
RGBrgb(89, 114, 230)
HSLhsl(229, 74%, 63%)
HSVhsv(229, 61%, 90%)
CMYKcmyk(61.3%, 50.4%, 0%, 9.8%)
CIE-LABlab(51.69, 26.08, -61.78)
CIE-LCHlch(51.69, 67.06, 292.88°)
OKLaboklab(59.33% 0.0029 -0.177)
OKLCHoklch(59.33% 0.177 270.9)
XYZxyz(24.4153, 19.8696, 77.3961)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972E6 #E6CD59
analogous
#59B8E6 #5972E6 #8759E6
triadic
#5972E6 #E65972 #72E659
tetradic
#5972E6 #E659B8 #E6CD59 #59E687
square
#5972E6 #E659B8 #E6CD59 #59E687
split-complementary
#5972E6 #E68759 #B8E659
monochromatic
#1A33AB #2445DE #5972E6 #8E9FEE #C3CCF6

Accessibility & contrast

On white

4.22
#5972E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5972E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972E6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972E6#FFFFFF#000000##000000
##5972E61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#0475E4
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5972e6;
/* rgb */ color: rgb(89, 114, 230);
/* oklch */ color: oklch(59.3% 0.177 270.9);
Tailwind
colors: {
  custom: {
    50: '#949aef',
    500: '#5972e6',
    950: '#000000',
  },
}
SCSS
$custom: #5972e6;
$custom-light: #949aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5972e6",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 229.362,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.17703,
    "h": 270.9
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#5972E6
secondary
#E7DEB4
accent
#B310D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5972E6

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

Preview Lab → · Contrast checker → · Palette generator →

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