#5E70D7#5E70D7

#5E70D7 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.158 H 273.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5E70D7
RGBrgb(94, 112, 215)
HSLhsl(231, 60%, 61%)
HSVhsv(231, 56%, 84%)
CMYKcmyk(56.3%, 47.9%, 0%, 15.7%)
CIE-LABlab(50.54, 23.29, -55.16)
CIE-LCHlch(50.54, 59.87, 292.89°)
OKLaboklab(58.24% 0.0085 -0.1574)
OKLCHoklch(58.24% 0.158 273.1)
XYZxyz(22.6720, 18.8727, 66.7249)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E70D7 #D7C55E
analogous
#5EADD7 #5E70D7 #885ED7
triadic
#5E70D7 #D75E70 #70D75E
tetradic
#5E70D7 #D75EAD #D7C55E #5ED788
square
#5E70D7 #D75EAD #D7C55E #5ED788
split-complementary
#5E70D7 #D7885E #ADD75E
monochromatic
#253695 #3148C6 #5E70D7 #8F9CE3 #C0C7EF

Accessibility & contrast

On white

4.40
#5E70D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5E70D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E70D7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E70D7#FFFFFF#000000##000000
##5E70D71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDB
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#138799
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e70d7;
/* rgb */ color: rgb(94, 112, 215);
/* oklch */ color: oklch(58.2% 0.158 273.1);
Tailwind
colors: {
  custom: {
    50: '#9598e4',
    500: '#5e70d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e70d7;
$custom-light: #9598e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e70d7",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 215
  },
  "hsl": {
    "h": 231.074,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.15766,
    "h": 273.1
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#5E70D7
secondary
#DFD9B1
accent
#AF1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E70D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5E70D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva