#5972EF#5972EF

#5972EF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.189 H 271.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5972EF
RGBrgb(89, 114, 239)
HSLhsl(230, 82%, 64%)
HSVhsv(230, 63%, 94%)
CMYKcmyk(62.8%, 52.3%, 0%, 6.3%)
CIE-LABlab(52.27, 29.09, -65.88)
CIE-LCHlch(52.27, 72.02, 293.82°)
OKLaboklab(59.96% 0.0036 -0.1891)
OKLCHoklch(59.96% 0.189 271.1)
XYZxyz(25.7119, 20.3882, 84.2250)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972EF #EFD659
analogous
#59BDEF #5972EF #8B59EF
triadic
#5972EF #EF5972 #72EF59
tetradic
#5972EF #EF59BD #EFD659 #59EF8B
square
#5972EF #EF59BD #EFD659 #59EF8B
split-complementary
#5972EF #EF8B59 #BDEF59
monochromatic
#122EBC #2143EA #5972EF #91A1F4 #C9D1FA

Accessibility & contrast

On white

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

On black

5.08
#5972EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972EF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972EF#FFFFFF#000000##000000
##5972EF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5972ef;
/* rgb */ color: rgb(89, 114, 239);
/* oklch */ color: oklch(60.0% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#969af5',
    500: '#5972ef',
    950: '#000000',
  },
}
SCSS
$custom: #5972ef;
$custom-light: #969af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5972ef",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 230,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.1891,
    "h": 271.1
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#5972EF
secondary
#ECE3B8
accent
#BB07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5972EF

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

Preview Lab → · Contrast checker → · Palette generator →

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