#5A70EE#5A70EE

#5A70EE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.6% C 0.190 H 271.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A70EE
RGBrgb(90, 112, 238)
HSLhsl(231, 81%, 64%)
HSVhsv(231, 62%, 93%)
CMYKcmyk(62.2%, 52.9%, 0%, 6.7%)
CIE-LABlab(51.76, 30.15, -66.15)
CIE-LCHlch(51.76, 72.69, 294.50°)
OKLaboklab(59.57% 0.0064 -0.1898)
OKLCHoklch(59.57% 0.19 271.9)
XYZxyz(25.4381, 19.9329, 83.3792)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A70EE #EED85A
analogous
#5ABAEE #5A70EE #8E5AEE
triadic
#5A70EE #EE5A70 #70EE5A
tetradic
#5A70EE #EE5ABA #EED85A #5AEE8E
square
#5A70EE #EE5ABA #EED85A #5AEE8E
split-complementary
#5A70EE #EE8E5A #BAEE5A
monochromatic
#132CBA #2340E8 #5A70EE #91A0F4 #C9D0F9

Accessibility & contrast

On white

4.21
#5A70EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5A70EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A70EE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A70EE#FFFFFF#000000##000000
##5A70EE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B82F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a70ee;
/* rgb */ color: rgb(90, 112, 238);
/* oklch */ color: oklch(59.6% 0.190 271.9);
Tailwind
colors: {
  custom: {
    50: '#9698f4',
    500: '#5a70ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a70ee;
$custom-light: #9698f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a70ee",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 231.081,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.18995,
    "h": 271.9
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#5A70EE
secondary
#ECE4B8
accent
#BE08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A70EE

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

Preview Lab → · Contrast checker → · Palette generator →

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