#5670E7#5670E7

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

Color values

HEX#5670E7
RGBrgb(86, 112, 231)
HSLhsl(229, 75%, 62%)
HSVhsv(229, 63%, 91%)
CMYKcmyk(62.8%, 51.5%, 0%, 9.4%)
CIE-LABlab(51.08, 27.13, -63.34)
CIE-LCHlch(51.08, 68.91, 293.19°)
OKLaboklab(58.85% 0.0019 -0.1817)
OKLCHoklch(58.85% 0.182 270.6)
XYZxyz(24.0509, 19.3342, 78.0502)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670E7 #E7CD56
analogous
#56B9E7 #5670E7 #8456E7
triadic
#5670E7 #E75670 #70E756
tetradic
#5670E7 #E756B9 #E7CD56 #56E784
square
#5670E7 #E756B9 #E7CD56 #56E784
split-complementary
#5670E7 #E78456 #B9E756
monochromatic
#1832AA #2043DF #5670E7 #8C9DEF #C1CBF6

Accessibility & contrast

On white

4.31
#5670E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5670E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5670E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670E7#FFFFFF#000000##000000
##5670E71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EB
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5670e7;
/* rgb */ color: rgb(86, 112, 231);
/* oklch */ color: oklch(58.8% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#9398ef',
    500: '#5670e7',
    950: '#000000',
  },
}
SCSS
$custom: #5670e7;
$custom-light: #9398ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5670e7",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 229.241,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.1817,
    "h": 270.6
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#5670E7
secondary
#E7DDB2
accent
#B30ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5670E7

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

Preview Lab → · Contrast checker → · Palette generator →

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