#5670E4#5670E4

#5670E4 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.178 H 270.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5670E4
RGBrgb(86, 112, 228)
HSLhsl(229, 72%, 62%)
HSVhsv(229, 62%, 89%)
CMYKcmyk(62.3%, 50.9%, 0%, 10.6%)
CIE-LABlab(50.88, 26.12, -61.97)
CIE-LCHlch(50.88, 67.25, 292.85°)
OKLaboklab(58.64% 0.0017 -0.1776)
OKLCHoklch(58.64% 0.178 270.5)
XYZxyz(23.6308, 19.1662, 75.8379)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670E4 #E4CA56
analogous
#56B7E4 #5670E4 #8356E4
triadic
#5670E4 #E45670 #70E456
tetradic
#5670E4 #E456B7 #E4CA56 #56E483
square
#5670E4 #E456B7 #E4CA56 #56E483
split-complementary
#5670E4 #E48356 #B7E456
monochromatic
#1A34A5 #2344DA #5670E4 #8B9DEC #C0C9F5

Accessibility & contrast

On white

4.34
#5670E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5670E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5670E4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670E4#FFFFFF#000000##000000
##5670E41.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5670e4;
/* rgb */ color: rgb(86, 112, 228);
/* oklch */ color: oklch(58.6% 0.178 270.5);
Tailwind
colors: {
  custom: {
    50: '#9398ed',
    500: '#5670e4',
    950: '#000000',
  },
}
SCSS
$custom: #5670e4;
$custom-light: #9398ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5670e4",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 229.014,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.17766,
    "h": 270.5
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#5670E4
secondary
#E5DCB0
accent
#B111D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5670E4

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

Preview Lab → · Contrast checker → · Palette generator →

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