#5972EA#5972EA

#5972EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.182 H 271.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5972EA
RGBrgb(89, 114, 234)
HSLhsl(230, 78%, 63%)
HSVhsv(230, 62%, 92%)
CMYKcmyk(62%, 51.3%, 0%, 8.2%)
CIE-LABlab(51.95, 27.41, -63.61)
CIE-LCHlch(51.95, 69.27, 293.31°)
OKLaboklab(59.61% 0.0033 -0.1824)
OKLCHoklch(59.61% 0.182 271)
XYZxyz(24.9834, 20.0969, 80.3884)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972EA #EAD159
analogous
#59BAEA #5972EA #8859EA
triadic
#5972EA #EA5972 #72EA59
tetradic
#5972EA #EA59BA #EAD159 #59EA88
square
#5972EA #EA59BA #EAD159 #59EA88
split-complementary
#5972EA #EA8859 #BAEA59
monochromatic
#1731B2 #2344E3 #5972EA #8FA0F1 #C6CEF8

Accessibility & contrast

On white

4.18
#5972EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5972EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972EA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972EA#FFFFFF#000000##000000
##5972EA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5972ea;
/* rgb */ color: rgb(89, 114, 234);
/* oklch */ color: oklch(59.6% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#959af1',
    500: '#5972ea',
    950: '#000000',
  },
}
SCSS
$custom: #5972ea;
$custom-light: #959af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5972ea",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 229.655,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59608,
    "c": 0.18242,
    "h": 271
  },
  "luminance": 0.20099
}

Semantic roles & 50–950 ramp

primary
#5972EA
secondary
#E9E0B6
accent
#B60CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5972EA

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

Preview Lab → · Contrast checker → · Palette generator →

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