#5653BA#5653BA

#5653BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.158 H 280.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5653BA
RGBrgb(86, 83, 186)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 55%, 73%)
CMYKcmyk(53.8%, 55.4%, 0%, 27.1%)
CIE-LABlab(40.75, 30.26, -54.24)
CIE-LCHlch(40.75, 62.10, 299.16°)
OKLaboklab(50.14% 0.0284 -0.1552)
OKLCHoklch(50.14% 0.158 280.4)
XYZxyz(15.7912, 11.7092, 47.8728)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5653BA #B7BA53
analogous
#5383BA #5653BA #8A53BA
triadic
#5653BA #BA5653 #53BA56
tetradic
#5653BA #BA5383 #B7BA53 #53BA8A
square
#5653BA #BA5383 #B7BA53 #53BA8A
split-complementary
#5653BA #BA8A53 #83BA53
monochromatic
#2C2A69 #3E3B94 #5653BA #817FCC #ACAADD

Accessibility & contrast

On white

6.28
#5653BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5653BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5653BA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5653BA#FFFFFF#000000##FFFFFF
##5653BA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#296B7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5653ba;
/* rgb */ color: rgb(86, 83, 186);
/* oklch */ color: oklch(50.1% 0.158 280.4);
Tailwind
colors: {
  custom: {
    50: '#8e83cf',
    500: '#5653ba',
    950: '#000000',
  },
}
SCSS
$custom: #5653ba;
$custom-light: #8e83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5653ba",
  "rgb": {
    "r": 86,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 241.748,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.15776,
    "h": 280.4
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#5653BA
secondary
#C9CB9E
accent
#D355CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5653BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5653BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva