#5654DF#5654DF

#5654DF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.2% C 0.205 H 277.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5654DF
RGBrgb(86, 84, 223)
HSLhsl(241, 68%, 60%)
HSVhsv(241, 62%, 87%)
CMYKcmyk(61.4%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.72, 41.58, -70.76)
CIE-LCHlch(43.72, 82.07, 300.44°)
OKLaboklab(53.19% 0.0266 -0.2037)
OKLCHoklch(53.19% 0.205 277.4)
XYZxyz(20.3231, 13.6452, 71.3606)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654DF #DDDF54
analogous
#5498DF #5654DF #9B54DF
triadic
#5654DF #DF5654 #54DF56
tetradic
#5654DF #DF5498 #DDDF54 #54DF9B
square
#5654DF #DF5498 #DDDF54 #54DF9B
split-complementary
#5654DF #DF9B54 #98DF54
monochromatic
#1F1D9C #2927CF #5654DF #8988E9 #BCBBF2

Accessibility & contrast

On white

5.63
#5654DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5654DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654DF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654DF#FFFFFF#000000##FFFFFF
##5654DF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5654df;
/* rgb */ color: rgb(86, 84, 223);
/* oklch */ color: oklch(53.2% 0.205 277.4);
Tailwind
colors: {
  custom: {
    50: '#9384ea',
    500: '#5654df',
    950: '#000000',
  },
}
SCSS
$custom: #5654df;
$custom-light: #9384ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5654df",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 240.863,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.20548,
    "h": 277.4
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#5654DF
secondary
#E1E2AD
accent
#D015CE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5654DF

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

Preview Lab → · Contrast checker → · Palette generator →

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