#5970DB#5970DB

#5970DB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.165 H 271.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5970DB
RGBrgb(89, 112, 219)
HSLhsl(229, 64%, 60%)
HSVhsv(229, 59%, 86%)
CMYKcmyk(59.4%, 48.9%, 0%, 14.1%)
CIE-LABlab(50.48, 23.64, -57.53)
CIE-LCHlch(50.48, 62.20, 292.34°)
OKLaboklab(58.2% 0.0038 -0.1645)
OKLCHoklch(58.2% 0.165 271.3)
XYZxyz(22.6959, 18.8248, 69.4416)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970DB #DBC459
analogous
#59B1DB #5970DB #8359DB
triadic
#5970DB #DB5970 #70DB59
tetradic
#5970DB #DB59B1 #DBC459 #59DB83
square
#5970DB #DB59B1 #DBC459 #59DB83
split-complementary
#5970DB #DB8359 #B1DB59
monochromatic
#213699 #2C48CB #5970DB #8B9BE6 #BEC7F1

Accessibility & contrast

On white

4.41
#5970DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5970DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5970DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970DB#FFFFFF#000000##000000
##5970DB1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5970db;
/* rgb */ color: rgb(89, 112, 219);
/* oklch */ color: oklch(58.2% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#9398e7',
    500: '#5970db',
    950: '#000000',
  },
}
SCSS
$custom: #5970db;
$custom-light: #9398e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5970db",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 229.385,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.16456,
    "h": 271.3
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#5970DB
secondary
#E1D8AF
accent
#AD19CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5970DB

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

Preview Lab → · Contrast checker → · Palette generator →

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