#5670E6#5670E6

#5670E6 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.180 H 270.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5670E6
RGBrgb(86, 112, 230)
HSLhsl(229, 74%, 62%)
HSVhsv(229, 63%, 90%)
CMYKcmyk(62.6%, 51.3%, 0%, 9.8%)
CIE-LABlab(51.01, 26.79, -62.89)
CIE-LCHlch(51.01, 68.36, 293.08°)
OKLaboklab(58.78% 0.0018 -0.1803)
OKLCHoklch(58.78% 0.18 270.6)
XYZxyz(23.9100, 19.2779, 77.3085)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670E6 #E6CC56
analogous
#56B8E6 #5670E6 #8456E6
triadic
#5670E6 #E65670 #70E656
tetradic
#5670E6 #E656B8 #E6CC56 #56E684
square
#5670E6 #E656B8 #E6CC56 #56E684
split-complementary
#5670E6 #E68456 #B8E656
monochromatic
#1933A9 #2143DE #5670E6 #8B9DEE #C1CAF6

Accessibility & contrast

On white

4.32
#5670E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5670E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5670E6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670E6#FFFFFF#000000##000000
##5670E61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980EA
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5670e6;
/* rgb */ color: rgb(86, 112, 230);
/* oklch */ color: oklch(58.8% 0.180 270.6);
Tailwind
colors: {
  custom: {
    50: '#9398ef',
    500: '#5670e6',
    950: '#000000',
  },
}
SCSS
$custom: #5670e6;
$custom-light: #9398ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5670e6",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 229.167,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.18035,
    "h": 270.6
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#5670E6
secondary
#E6DDB1
accent
#B20FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5670E6

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

Preview Lab → · Contrast checker → · Palette generator →

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