#5654CB#5654CB

#5654CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.179 H 278.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5654CB
RGBrgb(86, 84, 203)
HSLhsl(241, 53%, 56%)
HSVhsv(241, 59%, 80%)
CMYKcmyk(57.6%, 58.6%, 0%, 20.4%)
CIE-LABlab(42.20, 35.12, -61.77)
CIE-LCHlch(42.20, 71.06, 299.62°)
OKLaboklab(51.6% 0.0275 -0.1773)
OKLCHoklch(51.6% 0.179 278.8)
XYZxyz(17.7841, 12.6296, 57.9890)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654CB #C9CB54
analogous
#548ECB #5654CB #9254CB
triadic
#5654CB #CB5654 #54CB56
tetradic
#5654CB #CB548E #C9CB54 #54CB92
square
#5654CB #CB548E #C9CB54 #54CB92
split-complementary
#5654CB #CB9254 #8ECB54
monochromatic
#28267E #3735AD #5654CB #8483D9 #B3B2E8

Accessibility & contrast

On white

5.96
#5654CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5654CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654CB#FFFFFF#000000##FFFFFF
##5654CB1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#0B7087
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5654cb;
/* rgb */ color: rgb(86, 84, 203);
/* oklch */ color: oklch(51.6% 0.179 278.8);
Tailwind
colors: {
  custom: {
    50: '#9084dc',
    500: '#5654cb',
    950: '#000000',
  },
}
SCSS
$custom: #5654cb;
$custom-light: #9084dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5654cb",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 241.008,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.17945,
    "h": 278.8
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#5654CB
secondary
#D5D6A5
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5654CB

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

Preview Lab → · Contrast checker → · Palette generator →

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