#5972EE#5972EE

#5972EE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.188 H 271.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5972EE
RGBrgb(89, 114, 238)
HSLhsl(230, 81%, 64%)
HSVhsv(230, 63%, 93%)
CMYKcmyk(62.6%, 52.1%, 0%, 6.7%)
CIE-LABlab(52.21, 28.76, -65.43)
CIE-LCHlch(52.21, 71.47, 293.72°)
OKLaboklab(59.89% 0.0036 -0.1877)
OKLCHoklch(59.89% 0.188 271.1)
XYZxyz(25.5646, 20.3293, 83.4491)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972EE #EED559
analogous
#59BDEE #5972EE #8B59EE
triadic
#5972EE #EE5972 #72EE59
tetradic
#5972EE #EE59BD #EED559 #59EE8B
square
#5972EE #EE59BD #EED559 #59EE8B
split-complementary
#5972EE #EE8B59 #BDEE59
monochromatic
#132FBA #2143E8 #5972EE #91A1F4 #C8D0F9

Accessibility & contrast

On white

4.14
#5972EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5972EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972EE#FFFFFF#000000##000000
##5972EE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5972ee;
/* rgb */ color: rgb(89, 114, 238);
/* oklch */ color: oklch(59.9% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#969af4',
    500: '#5972ee',
    950: '#000000',
  },
}
SCSS
$custom: #5972ee;
$custom-light: #969af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5972ee",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 229.933,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.18776,
    "h": 271.1
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#5972EE
secondary
#EBE3B7
accent
#BA08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5972EE

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

Preview Lab → · Contrast checker → · Palette generator →

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