#5972E4#5972E4

#5972E4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.174 H 270.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5972E4
RGBrgb(89, 114, 228)
HSLhsl(229, 72%, 62%)
HSVhsv(229, 61%, 89%)
CMYKcmyk(61%, 50%, 0%, 10.6%)
CIE-LABlab(51.56, 25.41, -60.87)
CIE-LCHlch(51.56, 65.96, 292.66°)
OKLaboklab(59.2% 0.0027 -0.1743)
OKLCHoklch(59.2% 0.174 270.9)
XYZxyz(24.1360, 19.7579, 75.9255)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972E4 #E4CB59
analogous
#59B7E4 #5972E4 #8659E4
triadic
#5972E4 #E45972 #72E459
tetradic
#5972E4 #E459B7 #E4CB59 #59E486
square
#5972E4 #E459B7 #E4CB59 #59E486
split-complementary
#5972E4 #E48659 #B7E459
monochromatic
#1B34A7 #2445DB #5972E4 #8E9FED #C2CBF5

Accessibility & contrast

On white

4.24
#5972E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5972E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972E4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972E4#FFFFFF#000000##000000
##5972E41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#0F75E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5972e4;
/* rgb */ color: rgb(89, 114, 228);
/* oklch */ color: oklch(59.2% 0.174 270.9);
Tailwind
colors: {
  custom: {
    50: '#949aed',
    500: '#5972e4',
    950: '#000000',
  },
}
SCSS
$custom: #5972e4;
$custom-light: #949aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5972e4",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 229.209,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59195,
    "c": 0.17433,
    "h": 270.9
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#5972E4
secondary
#E6DDB3
accent
#B111D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5972E4

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

Preview Lab → · Contrast checker → · Palette generator →

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