#5970F4#5970F4

#5970F4 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.198 H 271.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5970F4
RGBrgb(89, 112, 244)
HSLhsl(231, 88%, 65%)
HSVhsv(231, 64%, 96%)
CMYKcmyk(63.5%, 54.1%, 0%, 4.3%)
CIE-LABlab(52.11, 31.99, -68.93)
CIE-LCHlch(52.11, 75.99, 294.89°)
OKLaboklab(59.94% 0.0057 -0.1981)
OKLCHoklch(59.94% 0.198 271.7)
XYZxyz(26.2377, 20.2415, 88.0947)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970F4 #F4DD59
analogous
#59BDF4 #5970F4 #9059F4
triadic
#5970F4 #F45970 #70F459
tetradic
#5970F4 #F459BD #F4DD59 #59F490
square
#5970F4 #F459BD #F4DD59 #59F490
split-complementary
#5970F4 #F49059 #BDF459
monochromatic
#0D28C6 #203FF0 #5970F4 #92A1F8 #CCD3FC

Accessibility & contrast

On white

4.16
#5970F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5970F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5970F4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970F4#FFFFFF#000000##000000
##5970F41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0183F9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5970f4;
/* rgb */ color: rgb(89, 112, 244);
/* oklch */ color: oklch(59.9% 0.198 271.7);
Tailwind
colors: {
  custom: {
    50: '#9798f9',
    500: '#5970f4',
    950: '#000000',
  },
}
SCSS
$custom: #5970f4;
$custom-light: #9798f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5970f4",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 231.097,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.19815,
    "h": 271.7
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#5970F4
secondary
#EFE7BA
accent
#C201E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5970F4

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

Preview Lab → · Contrast checker → · Palette generator →

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