#5970E8#5970E8

#5970E8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.182 H 271.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5970E8
RGBrgb(89, 112, 232)
HSLhsl(230, 76%, 63%)
HSVhsv(230, 62%, 91%)
CMYKcmyk(61.6%, 51.7%, 0%, 9%)
CIE-LABlab(51.31, 27.97, -63.52)
CIE-LCHlch(51.31, 69.41, 293.77°)
OKLaboklab(59.09% 0.005 -0.1821)
OKLCHoklch(59.09% 0.182 271.6)
XYZxyz(24.4746, 19.5363, 78.8094)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970E8 #E8D159
analogous
#59B7E8 #5970E8 #8A59E8
triadic
#5970E8 #E85970 #70E859
tetradic
#5970E8 #E859B7 #E8D159 #59E88A
square
#5970E8 #E859B7 #E8D159 #59E88A
split-complementary
#5970E8 #E88A59 #B7E859
monochromatic
#1830AE #2342E1 #5970E8 #8F9EEF #C5CDF7

Accessibility & contrast

On white

4.28
#5970E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5970E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5970E8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970E8#FFFFFF#000000##000000
##5970E81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781EC
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5970e8;
/* rgb */ color: rgb(89, 112, 232);
/* oklch */ color: oklch(59.1% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#9598f0',
    500: '#5970e8',
    950: '#000000',
  },
}
SCSS
$custom: #5970e8;
$custom-light: #9598f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5970e8",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 230.35,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.18221,
    "h": 271.6
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#5970E8
secondary
#E8E0B5
accent
#B70ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5970E8

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

Preview Lab → · Contrast checker → · Palette generator →

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