#5654DB#5654DB

#5654DB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.200 H 277.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5654DB
RGBrgb(86, 84, 219)
HSLhsl(241, 65%, 59%)
HSVhsv(241, 62%, 86%)
CMYKcmyk(60.7%, 61.6%, 0%, 14.1%)
CIE-LABlab(43.41, 40.29, -68.99)
CIE-LCHlch(43.41, 79.89, 300.28°)
OKLaboklab(52.86% 0.0269 -0.1986)
OKLCHoklch(52.86% 0.2 277.7)
XYZxyz(19.7901, 13.4320, 68.5539)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654DB #D9DB54
analogous
#5496DB #5654DB #9A54DB
triadic
#5654DB #DB5654 #54DB56
tetradic
#5654DB #DB5496 #D9DB54 #54DB9A
square
#5654DB #DB5496 #D9DB54 #54DB9A
split-complementary
#5654DB #DB9A54 #96DB54
monochromatic
#211F95 #2C2AC8 #5654DB #8887E6 #BAB9F0

Accessibility & contrast

On white

5.70
#5654DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5654DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654DB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654DB#FFFFFF#000000##FFFFFF
##5654DB1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5654db;
/* rgb */ color: rgb(86, 84, 219);
/* oklch */ color: oklch(52.9% 0.200 277.7);
Tailwind
colors: {
  custom: {
    50: '#9384e7',
    500: '#5654db',
    950: '#000000',
  },
}
SCSS
$custom: #5654db;
$custom-light: #9384e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5654db",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 240.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.20037,
    "h": 277.7
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#5654DB
secondary
#DFE0AB
accent
#E840E6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5654DB

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

Preview Lab → · Contrast checker → · Palette generator →

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