#5971EF#5971EF

#5971EF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.190 H 271.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5971EF
RGBrgb(89, 113, 239)
HSLhsl(230, 82%, 64%)
HSVhsv(230, 63%, 94%)
CMYKcmyk(62.8%, 52.7%, 0%, 6.3%)
CIE-LABlab(52.02, 29.70, -66.29)
CIE-LCHlch(52.02, 72.64, 294.14°)
OKLaboklab(59.77% 0.0046 -0.1903)
OKLCHoklch(59.77% 0.19 271.4)
XYZxyz(25.5997, 20.1639, 84.1876)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5971EF #EFD759
analogous
#59BCEF #5971EF #8C59EF
triadic
#5971EF #EF5971 #71EF59
tetradic
#5971EF #EF59BC #EFD759 #59EF8C
square
#5971EF #EF59BC #EFD759 #59EF8C
split-complementary
#5971EF #EF8C59 #BCEF59
monochromatic
#122DBC #2141EA #5971EF #91A1F4 #C9D0FA

Accessibility & contrast

On white

4.17
#5971EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5971EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5971EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5971EF#FFFFFF#000000##000000
##5971EF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5971ef;
/* rgb */ color: rgb(89, 113, 239);
/* oklch */ color: oklch(59.8% 0.190 271.4);
Tailwind
colors: {
  custom: {
    50: '#9699f5',
    500: '#5971ef',
    950: '#000000',
  },
}
SCSS
$custom: #5971ef;
$custom-light: #9699f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5971ef",
  "rgb": {
    "r": 89,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 230.4,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.19032,
    "h": 271.4
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#5971EF
secondary
#ECE4B8
accent
#BC07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5971EF

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

Preview Lab → · Contrast checker → · Palette generator →

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