#5972E9#5972E9

#5972E9 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.181 H 271.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5972E9
RGBrgb(89, 114, 233)
HSLhsl(230, 77%, 63%)
HSVhsv(230, 62%, 91%)
CMYKcmyk(61.8%, 51.1%, 0%, 8.6%)
CIE-LABlab(51.88, 27.08, -63.16)
CIE-LCHlch(51.88, 68.72, 293.21°)
OKLaboklab(59.54% 0.0032 -0.181)
OKLCHoklch(59.54% 0.181 271)
XYZxyz(24.8402, 20.0396, 79.6340)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972E9 #E9D059
analogous
#59BAE9 #5972E9 #8859E9
triadic
#5972E9 #E95972 #72E959
tetradic
#5972E9 #E959BA #E9D059 #59E988
square
#5972E9 #E959BA #E9D059 #59E988
split-complementary
#5972E9 #E98859 #BAE959
monochromatic
#1732B0 #2344E2 #5972E9 #8FA0F0 #C5CEF7

Accessibility & contrast

On white

4.19
#5972E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5972E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972E9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972E9#FFFFFF#000000##000000
##5972E91.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)
#2C82ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5972e9;
/* rgb */ color: rgb(89, 114, 233);
/* oklch */ color: oklch(59.5% 0.181 271.0);
Tailwind
colors: {
  custom: {
    50: '#959af1',
    500: '#5972e9',
    950: '#000000',
  },
}
SCSS
$custom: #5972e9;
$custom-light: #959af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5972e9",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 229.583,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.18108,
    "h": 271
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

primary
#5972E9
secondary
#E9E0B5
accent
#B50DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5972E9

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

Preview Lab → · Contrast checker → · Palette generator →

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