#5970CD#5970CD

#5970CD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.145 H 270.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5970CD
RGBrgb(89, 112, 205)
HSLhsl(228, 54%, 58%)
HSVhsv(228, 57%, 80%)
CMYKcmyk(56.6%, 45.4%, 0%, 19.6%)
CIE-LABlab(49.64, 19.01, -50.92)
CIE-LCHlch(49.64, 54.36, 290.47°)
OKLaboklab(57.28% 0.002 -0.1451)
OKLCHoklch(57.28% 0.145 270.8)
XYZxyz(20.9298, 18.1184, 60.1400)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970CD #CDB659
analogous
#59AACD #5970CD #7C59CD
triadic
#5970CD #CD5970 #70CD59
tetradic
#5970CD #CD59AA #CDB659 #59CD7C
square
#5970CD #CD59AA #CDB659 #59CD7C
split-complementary
#5970CD #CD7C59 #AACD59
monochromatic
#283A84 #364FB3 #5970CD #8899DB #B7C1E9

Accessibility & contrast

On white

4.54
#5970CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5970CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5970CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970CD#FFFFFF#000000##000000
##5970CD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#0C8594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5970cd;
/* rgb */ color: rgb(89, 112, 205);
/* oklch */ color: oklch(57.3% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#9198dd',
    500: '#5970cd',
    950: '#000000',
  },
}
SCSS
$custom: #5970cd;
$custom-light: #9198dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5970cd",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 228.103,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.14511,
    "h": 270.8
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#5970CD
secondary
#D8CFAA
accent
#C04BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5970CD

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

Preview Lab → · Contrast checker → · Palette generator →

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