#5B56CA#5B56CA

#5B56CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.175 H 280.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B56CA
RGBrgb(91, 86, 202)
HSLhsl(243, 52%, 56%)
HSVhsv(243, 57%, 79%)
CMYKcmyk(55%, 57.4%, 0%, 20.8%)
CIE-LABlab(42.98, 34.50, -59.92)
CIE-LCHlch(42.98, 69.14, 299.94°)
OKLaboklab(52.24% 0.0315 -0.1717)
OKLCHoklch(52.24% 0.175 280.4)
XYZxyz(18.2995, 13.1428, 57.4382)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B56CA #C5CA56
analogous
#568BCA #5B56CA #9556CA
triadic
#5B56CA #CA5B56 #56CA5B
tetradic
#5B56CA #CA568B #C5CA56 #56CA95
square
#5B56CA #CA568B #C5CA56 #56CA95
split-complementary
#5B56CA #CA9556 #8BCA56
monochromatic
#2B287E #3B36AD #5B56CA #8885D9 #B5B3E7

Accessibility & contrast

On white

5.79
#5B56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5B56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B56CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B56CA#FFFFFF#000000##FFFFFF
##5B56CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#257188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b56ca;
/* rgb */ color: rgb(91, 86, 202);
/* oklch */ color: oklch(52.2% 0.175 280.4);
Tailwind
colors: {
  custom: {
    50: '#9386db',
    500: '#5b56ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b56ca;
$custom-light: #9386db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b56ca",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 242.586,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.17459,
    "h": 280.4
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#5B56CA
secondary
#D4D6A6
accent
#DC4CD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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