#5670F5#5670F5

#5670F5 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 59.8% C 0.200 H 270.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5670F5
RGBrgb(86, 112, 245)
HSLhsl(230, 89%, 65%)
HSVhsv(230, 65%, 96%)
CMYKcmyk(64.9%, 54.3%, 0%, 3.9%)
CIE-LABlab(52.01, 31.86, -69.65)
CIE-LCHlch(52.01, 76.59, 294.58°)
OKLaboklab(59.85% 0.0028 -0.2002)
OKLCHoklch(59.85% 0.2 270.8)
XYZxyz(26.1078, 20.1570, 88.8833)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670F5 #F5DB56
analogous
#56BFF5 #5670F5 #8C56F5
triadic
#5670F5 #F55670 #70F556
tetradic
#5670F5 #F556BF #F5DB56 #56F58C
square
#5670F5 #F556BF #F5DB56 #56F58C
split-complementary
#5670F5 #F58C56 #BFF556
monochromatic
#0C2AC5 #1C3FF2 #5670F5 #90A1F8 #CAD2FC

Accessibility & contrast

On white

4.17
#5670F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5670F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5670F5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670F5#FFFFFF#000000##000000
##5670F51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5670f5;
/* rgb */ color: rgb(86, 112, 245);
/* oklch */ color: oklch(59.8% 0.200 270.8);
Tailwind
colors: {
  custom: {
    50: '#9698f9',
    500: '#5670f5',
    950: '#000000',
  },
}
SCSS
$custom: #5670f5;
$custom-light: #9698f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5670f5",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 230.189,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.20026,
    "h": 270.8
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#5670F5
secondary
#EFE6B8
accent
#C000E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5670F5

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

Preview Lab → · Contrast checker → · Palette generator →

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