#5654CD#5654CD

#5654CD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.182 H 278.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5654CD
RGBrgb(86, 84, 205)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 59%, 80%)
CMYKcmyk(58%, 59%, 0%, 19.6%)
CIE-LABlab(42.35, 35.76, -62.69)
CIE-LCHlch(42.35, 72.17, 299.71°)
OKLaboklab(51.75% 0.0274 -0.18)
OKLCHoklch(51.75% 0.182 278.7)
XYZxyz(18.0240, 12.7256, 59.2523)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654CD #CBCD54
analogous
#548FCD #5654CD #9354CD
triadic
#5654CD #CD5654 #54CD56
tetradic
#5654CD #CD548F #CBCD54 #54CD93
square
#5654CD #CD548F #CBCD54 #54CD93
split-complementary
#5654CD #CD9354 #8FCD54
monochromatic
#272681 #3634B0 #5654CD #8583DB #B4B3E9

Accessibility & contrast

On white

5.92
#5654CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5654CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654CD#FFFFFF#000000##FFFFFF
##5654CD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#037188
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5654cd;
/* rgb */ color: rgb(86, 84, 205);
/* oklch */ color: oklch(51.8% 0.182 278.7);
Tailwind
colors: {
  custom: {
    50: '#9084dd',
    500: '#5654cd',
    950: '#000000',
  },
}
SCSS
$custom: #5654cd;
$custom-light: #9084dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5654cd",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 240.992,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.18211,
    "h": 278.7
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#5654CD
secondary
#D6D7A6
accent
#DE4ADC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5654CD

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

Preview Lab → · Contrast checker → · Palette generator →

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