#5E70F6#5E70F6

#5E70F6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.199 H 273.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5E70F6
RGBrgb(94, 112, 246)
HSLhsl(233, 89%, 67%)
HSVhsv(233, 62%, 96%)
CMYKcmyk(61.8%, 54.5%, 0%, 3.5%)
CIE-LABlab(52.53, 33.45, -69.35)
CIE-LCHlch(52.53, 77.00, 295.75°)
OKLaboklab(60.38% 0.0109 -0.1992)
OKLCHoklch(60.38% 0.199 273.1)
XYZxyz(27.0393, 20.6196, 89.7260)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E70F6 #F6E45E
analogous
#5EBCF6 #5E70F6 #985EF6
triadic
#5E70F6 #F65E70 #70F65E
tetradic
#5E70F6 #F65EBC #F6E45E #5EF698
square
#5E70F6 #F65EBC #F6E45E #5EF698
split-complementary
#5E70F6 #F6985E #BCF65E
monochromatic
#0C23CE #243DF3 #5E70F6 #98A3F9 #D2D7FC

Accessibility & contrast

On white

4.10
#5E70F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5E70F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E70F6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E70F6#FFFFFF#000000##000000
##5E70F61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e70f6;
/* rgb */ color: rgb(94, 112, 246);
/* oklch */ color: oklch(60.4% 0.199 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a98fa',
    500: '#5e70f6',
    950: '#000000',
  },
}
SCSS
$custom: #5e70f6;
$custom-light: #9a98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e70f6",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 232.895,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.19948,
    "h": 273.1
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#5E70F6
secondary
#F0EBBF
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E70F6

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

Preview Lab → · Contrast checker → · Palette generator →

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