#5651AC#5651AC

#5651AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.141 H 282.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5651AC
RGBrgb(86, 81, 172)
HSLhsl(243, 36%, 50%)
HSVhsv(243, 53%, 67%)
CMYKcmyk(50%, 52.9%, 0%, 32.5%)
CIE-LABlab(39.31, 27.05, -48.31)
CIE-LCHlch(39.31, 55.37, 299.25°)
OKLaboklab(48.77% 0.03 -0.1378)
OKLCHoklch(48.77% 0.141 282.3)
XYZxyz(14.2243, 10.8411, 40.3648)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651AC #A7AC51
analogous
#5179AC #5651AC #8451AC
triadic
#5651AC #AC5651 #51AC56
tetradic
#5651AC #AC5179 #A7AC51 #51AC84
square
#5651AC #AC5179 #A7AC51 #51AC84
split-complementary
#5651AC #AC8451 #79AC51
monochromatic
#2C2A59 #413D82 #5651AC #7E7AC0 #A6A3D4

Accessibility & contrast

On white

6.63
#5651AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5651AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651AC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651AC#FFFFFF#000000##FFFFFF
##5651AC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#1B59AA
Tritanopia (blue-blind)
#366576
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5651ac;
/* rgb */ color: rgb(86, 81, 172);
/* oklch */ color: oklch(48.8% 0.141 282.3);
Tailwind
colors: {
  custom: {
    50: '#8c82c5',
    500: '#5651ac',
    950: '#000000',
  },
}
SCSS
$custom: #5651ac;
$custom-light: #8c82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5651ac",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 243.297,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.141,
    "h": 282.3
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#5651AC
secondary
#BFC198
accent
#CC5CC6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5651AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5651AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva