#5672E5#5672E5

#5672E5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.177 H 270.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5672E5
RGBrgb(86, 114, 229)
HSLhsl(228, 73%, 62%)
HSVhsv(228, 62%, 90%)
CMYKcmyk(62.4%, 50.2%, 0%, 10.2%)
CIE-LABlab(51.46, 25.22, -61.60)
CIE-LCHlch(51.46, 66.57, 292.27°)
OKLaboklab(59.09% -0.0001 -0.1765)
OKLCHoklch(59.09% 0.177 270)
XYZxyz(23.9931, 19.6681, 76.6455)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5672E5 #E5C956
analogous
#56B9E5 #5672E5 #8256E5
triadic
#5672E5 #E55672 #72E556
tetradic
#5672E5 #E556B9 #E5C956 #56E582
square
#5672E5 #E556B9 #E5C956 #56E582
split-complementary
#5672E5 #E58256 #B9E556
monochromatic
#1A35A7 #2246DC #5672E5 #8B9EED #C0CBF5

Accessibility & contrast

On white

4.26
#5672E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5672E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5672E5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5672E5#FFFFFF#000000##000000
##5672E51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E9
Deuteranopia (green-blind)
#0175E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5672e5;
/* rgb */ color: rgb(86, 114, 229);
/* oklch */ color: oklch(59.1% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#939aee',
    500: '#5672e5',
    950: '#000000',
  },
}
SCSS
$custom: #5672e5;
$custom-light: #939aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5672e5",
  "rgb": {
    "r": 86,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 228.252,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.17653,
    "h": 270
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#5672E5
secondary
#E6DCB1
accent
#AF10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5672E5

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

Preview Lab → · Contrast checker → · Palette generator →

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