#5654EF#5654EF

#5654EF is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.226 H 276.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5654EF
RGBrgb(86, 84, 239)
HSLhsl(241, 83%, 63%)
HSVhsv(241, 65%, 94%)
CMYKcmyk(64%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.01, 46.71, -77.70)
CIE-LCHlch(45.01, 90.66, 301.01°)
OKLaboklab(54.53% 0.0253 -0.2241)
OKLCHoklch(54.53% 0.226 276.4)
XYZxyz(22.5830, 14.5492, 83.2628)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654EF #EDEF54
analogous
#549FEF #5654EF #A354EF
triadic
#5654EF #EF5654 #54EF56
tetradic
#5654EF #EF549F #EDEF54 #54EFA3
square
#5654EF #EF549F #EDEF54 #54EFA3
split-complementary
#5654EF #EFA354 #9FEF54
monochromatic
#1311B7 #1F1CEA #5654EF #8D8CF4 #C5C4F9

Accessibility & contrast

On white

5.37
#5654EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5654EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654EF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654EF#FFFFFF#000000##FFFFFF
##5654EF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5654ef;
/* rgb */ color: rgb(86, 84, 239);
/* oklch */ color: oklch(54.5% 0.226 276.4);
Tailwind
colors: {
  custom: {
    50: '#9685f5',
    500: '#5654ef',
    950: '#000000',
  },
}
SCSS
$custom: #5654ef;
$custom-light: #9685f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ef",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 240.774,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.22555,
    "h": 276.4
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#5654EF
secondary
#EAEBB4
accent
#DF06DD
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5654EF

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

Preview Lab → · Contrast checker → · Palette generator →

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