#5672EC#5672EC

#5672EC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.186 H 270.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5672EC
RGBrgb(86, 114, 236)
HSLhsl(229, 80%, 63%)
HSVhsv(229, 64%, 93%)
CMYKcmyk(63.6%, 51.7%, 0%, 7.5%)
CIE-LABlab(51.91, 27.59, -64.79)
CIE-LCHlch(51.91, 70.42, 293.06°)
OKLaboklab(59.58% 0.0005 -0.1859)
OKLCHoklch(59.58% 0.186 270.1)
XYZxyz(24.9903, 20.0670, 81.8970)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5672EC #ECD056
analogous
#56BDEC #5672EC #8556EC
triadic
#5672EC #EC5672 #72EC56
tetradic
#5672EC #EC56BD #ECD056 #56EC85
square
#5672EC #EC56BD #ECD056 #56EC85
split-complementary
#5672EC #EC8556 #BDEC56
monochromatic
#1432B3 #1F44E6 #5672EC #8DA0F2 #C4CEF8

Accessibility & contrast

On white

4.19
#5672EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5672EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5672EC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5672EC#FFFFFF#000000##000000
##5672EC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5672ec;
/* rgb */ color: rgb(86, 114, 236);
/* oklch */ color: oklch(59.6% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#949af3',
    500: '#5672ec',
    950: '#000000',
  },
}
SCSS
$custom: #5672ec;
$custom-light: #949af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5672ec",
  "rgb": {
    "r": 86,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 228.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.18593,
    "h": 270.1
  },
  "luminance": 0.20069
}

Semantic roles & 50–950 ramp

primary
#5672EC
secondary
#EAE0B4
accent
#B509DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5672EC

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

Preview Lab → · Contrast checker → · Palette generator →

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