#5E70EC#5E70EC

#5E70EC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.7% C 0.186 H 273.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5E70EC
RGBrgb(94, 112, 236)
HSLhsl(232, 79%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(60.2%, 52.5%, 0%, 7.5%)
CIE-LABlab(51.86, 30.16, -64.85)
CIE-LCHlch(51.86, 71.53, 294.94°)
OKLaboklab(59.66% 0.0104 -0.1859)
OKLCHoklch(59.66% 0.186 273.2)
XYZxyz(25.5456, 20.0221, 81.8591)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E70EC #ECDA5E
analogous
#5EB7EC #5E70EC #935EEC
triadic
#5E70EC #EC5E70 #70EC5E
tetradic
#5E70EC #EC5EB7 #ECDA5E #5EEC93
square
#5E70EC #EC5EB7 #ECDA5E #5EEC93
split-complementary
#5E70EC #EC935E #B7EC5E
monochromatic
#162BBA #273FE6 #5E70EC #95A1F2 #CBD1F9

Accessibility & contrast

On white

4.20
#5E70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5E70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E70EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E70EC#FFFFFF#000000##000000
##5E70EC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e70ec;
/* rgb */ color: rgb(94, 112, 236);
/* oklch */ color: oklch(59.7% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#9898f3',
    500: '#5e70ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e70ec;
$custom-light: #9898f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e70ec",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 232.394,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.18624,
    "h": 273.2
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#5E70EC
secondary
#EBE5BB
accent
#C10ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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