#5B5ADC#5B5ADC

#5B5ADC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.3% C 0.193 H 278.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B5ADC
RGBrgb(91, 90, 220)
HSLhsl(240, 65%, 61%)
HSVhsv(240, 59%, 86%)
CMYKcmyk(58.6%, 59.1%, 0%, 13.7%)
CIE-LABlab(45.22, 37.82, -66.59)
CIE-LCHlch(45.22, 76.58, 299.60°)
OKLaboklab(54.32% 0.0274 -0.1913)
OKLCHoklch(54.32% 0.193 278.1)
XYZxyz(20.8847, 14.7023, 69.4336)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5ADC #DBDC5A
analogous
#5A9ADC #5B5ADC #9C5ADC
triadic
#5B5ADC #DC5B5A #5ADC5B
tetradic
#5B5ADC #DC5A9A #DBDC5A #5ADC9C
square
#5B5ADC #DC5A9A #DBDC5A #5ADC9C
split-complementary
#5B5ADC #DC9C5A #9ADC5A
monochromatic
#22219B #2D2CCD #5B5ADC #8D8CE7 #BFBFF1

Accessibility & contrast

On white

5.33
#5B5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5B5ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5ADC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5ADC#FFFFFF#000000##FFFFFF
##5B5ADC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b5adc;
/* rgb */ color: rgb(91, 90, 220);
/* oklch */ color: oklch(54.3% 0.193 278.1);
Tailwind
colors: {
  custom: {
    50: '#9589e8',
    500: '#5b5adc',
    950: '#000000',
  },
}
SCSS
$custom: #5b5adc;
$custom-light: #9589e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5adc",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 240.462,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.19328,
    "h": 278.1
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#5B5ADC
secondary
#E1E2B0
accent
#CD19CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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