#5971EE#5971EE

#5971EE is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.189 H 271.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5971EE
RGBrgb(89, 113, 238)
HSLhsl(230, 81%, 64%)
HSVhsv(230, 63%, 93%)
CMYKcmyk(62.6%, 52.5%, 0%, 6.7%)
CIE-LABlab(51.96, 29.37, -65.84)
CIE-LCHlch(51.96, 72.09, 294.04°)
OKLaboklab(59.7% 0.0045 -0.1889)
OKLCHoklch(59.7% 0.189 271.4)
XYZxyz(25.4524, 20.1049, 83.4117)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5971EE #EED659
analogous
#59BBEE #5971EE #8C59EE
triadic
#5971EE #EE5971 #71EE59
tetradic
#5971EE #EE59BB #EED659 #59EE8C
square
#5971EE #EE59BB #EED659 #59EE8C
split-complementary
#5971EE #EE8C59 #BBEE59
monochromatic
#132EBA #2142E8 #5971EE #91A0F4 #C8D0F9

Accessibility & contrast

On white

4.18
#5971EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5971EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5971EE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5971EE#FFFFFF#000000##000000
##5971EE1.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)
#1F83F2
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5971ee;
/* rgb */ color: rgb(89, 113, 238);
/* oklch */ color: oklch(59.7% 0.189 271.4);
Tailwind
colors: {
  custom: {
    50: '#9699f4',
    500: '#5971ee',
    950: '#000000',
  },
}
SCSS
$custom: #5971ee;
$custom-light: #9699f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5971ee",
  "rgb": {
    "r": 89,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 230.336,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59699,
    "c": 0.18899,
    "h": 271.4
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#5971EE
secondary
#EBE3B7
accent
#BB08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5971EE

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

Preview Lab → · Contrast checker → · Palette generator →

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