#5970EF#5970EF

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

Color values

HEX#5970EF
RGBrgb(89, 112, 239)
HSLhsl(231, 82%, 64%)
HSVhsv(231, 63%, 94%)
CMYKcmyk(62.8%, 53.1%, 0%, 6.3%)
CIE-LABlab(51.77, 30.31, -66.69)
CIE-LCHlch(51.77, 73.26, 294.44°)
OKLaboklab(59.58% 0.0055 -0.1915)
OKLCHoklch(59.58% 0.192 271.6)
XYZxyz(25.4888, 19.9420, 84.1506)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970EF #EFD859
analogous
#59BBEF #5970EF #8D59EF
triadic
#5970EF #EF5970 #70EF59
tetradic
#5970EF #EF59BB #EFD859 #59EF8D
square
#5970EF #EF59BB #EFD859 #59EF8D
split-complementary
#5970EF #EF8D59 #BBEF59
monochromatic
#122CBC #2140EA #5970EF #91A0F4 #C9D0FA

Accessibility & contrast

On white

4.21
#5970EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5970EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5970EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970EF#FFFFFF#000000##000000
##5970EF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1882F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5970ef;
/* rgb */ color: rgb(89, 112, 239);
/* oklch */ color: oklch(59.6% 0.192 271.6);
Tailwind
colors: {
  custom: {
    50: '#9698f5',
    500: '#5970ef',
    950: '#000000',
  },
}
SCSS
$custom: #5970ef;
$custom-light: #9698f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5970ef",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 230.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.19155,
    "h": 271.6
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#5970EF
secondary
#ECE4B8
accent
#BE07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5970EF

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

Preview Lab → · Contrast checker → · Palette generator →

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