#5E70EF#5E70EF

#5E70EF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.190 H 273.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5E70EF
RGBrgb(94, 112, 239)
HSLhsl(233, 82%, 65%)
HSVhsv(233, 61%, 94%)
CMYKcmyk(60.7%, 53.1%, 0%, 6.3%)
CIE-LABlab(52.06, 31.15, -66.21)
CIE-LCHlch(52.06, 73.17, 295.20°)
OKLaboklab(59.88% 0.0106 -0.1899)
OKLCHoklch(59.88% 0.19 273.2)
XYZxyz(25.9851, 20.1979, 84.1739)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E70EF #EFDD5E
analogous
#5EB8EF #5E70EF #955EEF
triadic
#5E70EF #EF5E70 #70EF5E
tetradic
#5E70EF #EF5EB8 #EFDD5E #5EEF95
square
#5E70EF #EF5EB8 #EFDD5E #5EEF95
split-complementary
#5E70EF #EF955E #B8EF5E
monochromatic
#1328C0 #263FE9 #5E70EF #96A1F5 #CDD3FA

Accessibility & contrast

On white

4.17
#5E70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5E70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E70EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E70EF#FFFFFF#000000##000000
##5E70EF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e70ef;
/* rgb */ color: rgb(94, 112, 239);
/* oklch */ color: oklch(59.9% 0.190 273.2);
Tailwind
colors: {
  custom: {
    50: '#9898f5',
    500: '#5e70ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e70ef;
$custom-light: #9898f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e70ef",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 232.552,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.19023,
    "h": 273.2
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#5E70EF
secondary
#EDE7BC
accent
#C407DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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