#5C56DA#5C56DA

#5C56DA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.195 H 279.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5C56DA
RGBrgb(92, 86, 218)
HSLhsl(243, 64%, 60%)
HSVhsv(243, 61%, 85%)
CMYKcmyk(57.8%, 60.6%, 0%, 14.5%)
CIE-LABlab(44.22, 39.76, -67.08)
CIE-LCHlch(44.22, 77.97, 300.65°)
OKLaboklab(53.55% 0.0324 -0.1928)
OKLCHoklch(53.55% 0.195 279.5)
XYZxyz(20.3923, 13.9914, 67.9421)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56DA #D4DA56
analogous
#5692DA #5C56DA #9E56DA
triadic
#5C56DA #DA5C56 #56DA5C
tetradic
#5C56DA #DA5692 #D4DA56 #56DA9E
square
#5C56DA #DA5692 #D4DA56 #56DA9E
split-complementary
#5C56DA #DA9E56 #92DA56
monochromatic
#262195 #332CC7 #5C56DA #8C88E5 #BDBAF0

Accessibility & contrast

On white

5.53
#5C56DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5C56DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56DA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56DA#FFFFFF#000000##FFFFFF
##5C56DA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#067690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c56da;
/* rgb */ color: rgb(92, 86, 218);
/* oklch */ color: oklch(53.5% 0.195 279.5);
Tailwind
colors: {
  custom: {
    50: '#9686e6',
    500: '#5c56da',
    950: '#000000',
  },
}
SCSS
$custom: #5c56da;
$custom-light: #9686e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56da",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 242.727,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.19546,
    "h": 279.5
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#5C56DA
secondary
#DDE0AC
accent
#E741E0
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C56DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5C56DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva