#5E70F2#5E70F2

#5E70F2 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.194 H 273.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E70F2
RGBrgb(94, 112, 242)
HSLhsl(233, 85%, 66%)
HSVhsv(233, 61%, 95%)
CMYKcmyk(61.2%, 53.7%, 0%, 5.1%)
CIE-LABlab(52.26, 32.14, -67.56)
CIE-LCHlch(52.26, 74.81, 295.44°)
OKLaboklab(60.09% 0.0107 -0.1939)
OKLCHoklch(60.09% 0.194 273.2)
XYZxyz(26.4320, 20.3767, 86.5274)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E70F2 #F2E05E
analogous
#5EBAF2 #5E70F2 #965EF2
triadic
#5E70F2 #F25E70 #70F25E
tetradic
#5E70F2 #F25EBA #F2E05E #5EF296
square
#5E70F2 #F25EBA #F2E05E #5EF296
split-complementary
#5E70F2 #F2965E #BAF25E
monochromatic
#1026C6 #253EED #5E70F2 #97A2F7 #CFD5FB

Accessibility & contrast

On white

4.14
#5E70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5E70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E70F2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E70F2#FFFFFF#000000##000000
##5E70F21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e70f2;
/* rgb */ color: rgb(94, 112, 242);
/* oklch */ color: oklch(60.1% 0.194 273.2);
Tailwind
colors: {
  custom: {
    50: '#9998f7',
    500: '#5e70f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e70f2;
$custom-light: #9998f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e70f2",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 232.703,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60088,
    "c": 0.19421,
    "h": 273.2
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#5E70F2
secondary
#EEE8BD
accent
#C704E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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