#5670E5#5670E5

#5670E5 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.179 H 270.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5670E5
RGBrgb(86, 112, 229)
HSLhsl(229, 73%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62.4%, 51.1%, 0%, 10.2%)
CIE-LABlab(50.95, 26.46, -62.43)
CIE-LCHlch(50.95, 67.81, 292.97°)
OKLaboklab(58.71% 0.0018 -0.179)
OKLCHoklch(58.71% 0.179 270.6)
XYZxyz(23.7700, 19.2219, 76.5711)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670E5 #E5CB56
analogous
#56B8E5 #5670E5 #8456E5
triadic
#5670E5 #E55670 #70E556
tetradic
#5670E5 #E556B8 #E5CB56 #56E584
square
#5670E5 #E556B8 #E5CB56 #56E584
split-complementary
#5670E5 #E58456 #B8E556
monochromatic
#1A33A7 #2244DC #5670E5 #8B9DED #C0CAF5

Accessibility & contrast

On white

4.33
#5670E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5670E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5670E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670E5#FFFFFF#000000##000000
##5670E51.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5670e5;
/* rgb */ color: rgb(86, 112, 229);
/* oklch */ color: oklch(58.7% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#9398ee',
    500: '#5670e5',
    950: '#000000',
  },
}
SCSS
$custom: #5670e5;
$custom-light: #9398ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5670e5",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 229.091,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.17901,
    "h": 270.6
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#5670E5
secondary
#E6DCB1
accent
#B210D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5670E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5670E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva