#5972E8#5972E8

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

Color values

HEX#5972E8
RGBrgb(89, 114, 232)
HSLhsl(230, 76%, 63%)
HSVhsv(230, 62%, 91%)
CMYKcmyk(61.6%, 50.9%, 0%, 9%)
CIE-LABlab(51.82, 26.75, -62.70)
CIE-LCHlch(51.82, 68.17, 293.10°)
OKLaboklab(59.47% 0.0031 -0.1797)
OKLCHoklch(59.47% 0.18 271)
XYZxyz(24.6977, 19.9826, 78.8838)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972E8 #E8CF59
analogous
#59BAE8 #5972E8 #8759E8
triadic
#5972E8 #E85972 #72E859
tetradic
#5972E8 #E859BA #E8CF59 #59E887
square
#5972E8 #E859BA #E8CF59 #59E887
split-complementary
#5972E8 #E88759 #BAE859
monochromatic
#1832AE #2344E1 #5972E8 #8FA0EF #C5CDF7

Accessibility & contrast

On white

4.20
#5972E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5972E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972E8#FFFFFF#000000##000000
##5972E81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5972e8;
/* rgb */ color: rgb(89, 114, 232);
/* oklch */ color: oklch(59.5% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#959af0',
    500: '#5972e8',
    950: '#000000',
  },
}
SCSS
$custom: #5972e8;
$custom-light: #959af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5972e8",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 229.51,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.17973,
    "h": 271
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#5972E8
secondary
#E8DFB5
accent
#B40ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5972E8

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

Preview Lab → · Contrast checker → · Palette generator →

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