#5C56DB#5C56DB

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

Color values

HEX#5C56DB
RGBrgb(92, 86, 219)
HSLhsl(243, 65%, 60%)
HSVhsv(243, 61%, 86%)
CMYKcmyk(58%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.30, 40.07, -67.52)
CIE-LCHlch(44.30, 78.52, 300.69°)
OKLaboklab(53.63% 0.0323 -0.1941)
OKLCHoklch(53.63% 0.197 279.5)
XYZxyz(20.5236, 14.0439, 68.6333)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56DB #D5DB56
analogous
#5692DB #5C56DB #9F56DB
triadic
#5C56DB #DB5C56 #56DB5C
tetradic
#5C56DB #DB5692 #D5DB56 #56DB9F
square
#5C56DB #DB5692 #D5DB56 #56DB9F
split-complementary
#5C56DB #DB9F56 #92DB56
monochromatic
#252097 #322BC9 #5C56DB #8D88E6 #BDBBF0

Accessibility & contrast

On white

5.51
#5C56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5C56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56DB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56DB#FFFFFF#000000##FFFFFF
##5C56DB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#027690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c56db;
/* rgb */ color: rgb(92, 86, 219);
/* oklch */ color: oklch(53.6% 0.197 279.5);
Tailwind
colors: {
  custom: {
    50: '#9686e7',
    500: '#5c56db',
    950: '#000000',
  },
}
SCSS
$custom: #5c56db;
$custom-light: #9686e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56db",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 242.707,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.19674,
    "h": 279.5
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#5C56DB
secondary
#DEE0AD
accent
#E840E0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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