#5654E2#5654E2

#5654E2 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.209 H 277.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5654E2
RGBrgb(86, 84, 226)
HSLhsl(241, 71%, 61%)
HSVhsv(241, 63%, 89%)
CMYKcmyk(61.9%, 62.8%, 0%, 11.4%)
CIE-LABlab(43.96, 42.54, -72.08)
CIE-LCHlch(43.96, 83.70, 300.55°)
OKLaboklab(53.44% 0.0264 -0.2076)
OKLCHoklch(53.44% 0.209 277.3)
XYZxyz(20.7311, 13.8084, 73.5096)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654E2 #E0E254
analogous
#5499E2 #5654E2 #9D54E2
triadic
#5654E2 #E25654 #54E256
tetradic
#5654E2 #E25499 #E0E254 #54E29D
square
#5654E2 #E25499 #E0E254 #54E29D
split-complementary
#5654E2 #E29D54 #99E254
monochromatic
#1D1BA0 #2724D5 #5654E2 #8A88EB #BDBDF4

Accessibility & contrast

On white

5.58
#5654E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5654E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654E2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654E2#FFFFFF#000000##FFFFFF
##5654E21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5654e2;
/* rgb */ color: rgb(86, 84, 226);
/* oklch */ color: oklch(53.4% 0.209 277.3);
Tailwind
colors: {
  custom: {
    50: '#9484ec',
    500: '#5654e2',
    950: '#000000',
  },
}
SCSS
$custom: #5654e2;
$custom-light: #9484ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5654e2",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 240.845,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.20929,
    "h": 277.3
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#5654E2
secondary
#E3E4AE
accent
#D312D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5654E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5654E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva