#5970EE#5970EE

#5970EE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.190 H 271.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5970EE
RGBrgb(89, 112, 238)
HSLhsl(231, 81%, 64%)
HSVhsv(231, 63%, 93%)
CMYKcmyk(62.6%, 52.9%, 0%, 6.7%)
CIE-LABlab(51.70, 29.98, -66.24)
CIE-LCHlch(51.70, 72.71, 294.35°)
OKLaboklab(59.51% 0.0054 -0.1901)
OKLCHoklch(59.51% 0.19 271.6)
XYZxyz(25.3414, 19.8831, 83.3747)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970EE #EED759
analogous
#59BBEE #5970EE #8D59EE
triadic
#5970EE #EE5970 #70EE59
tetradic
#5970EE #EE59BB #EED759 #59EE8D
square
#5970EE #EE59BB #EED759 #59EE8D
split-complementary
#5970EE #EE8D59 #BBEE59
monochromatic
#132DBA #2140E8 #5970EE #91A0F4 #C8D0F9

Accessibility & contrast

On white

4.22
#5970EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5970EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5970EE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970EE#FFFFFF#000000##000000
##5970EE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A82F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5970ee;
/* rgb */ color: rgb(89, 112, 238);
/* oklch */ color: oklch(59.5% 0.190 271.6);
Tailwind
colors: {
  custom: {
    50: '#9698f4',
    500: '#5970ee',
    950: '#000000',
  },
}
SCSS
$custom: #5970ee;
$custom-light: #9698f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5970ee",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 230.738,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5951,
    "c": 0.19022,
    "h": 271.6
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5970EE

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

Preview Lab → · Contrast checker → · Palette generator →

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