#5D5BCA#5D5BCA

#5D5BCA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.168 H 279.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D5BCA
RGBrgb(93, 91, 202)
HSLhsl(241, 51%, 57%)
HSVhsv(241, 55%, 79%)
CMYKcmyk(54%, 55%, 0%, 20.8%)
CIE-LABlab(44.34, 31.83, -57.71)
CIE-LCHlch(44.34, 65.91, 298.88°)
OKLaboklab(53.29% 0.0288 -0.1651)
OKLCHoklch(53.29% 0.168 279.9)
XYZxyz(18.9126, 14.0724, 57.5853)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BCA #C8CA5B
analogous
#5B91CA #5D5BCA #945BCA
triadic
#5D5BCA #CA5D5B #5BCA5D
tetradic
#5D5BCA #CA5B91 #C8CA5B #5BCA94
square
#5D5BCA #CA5B91 #C8CA5B #5BCA94
split-complementary
#5D5BCA #CA945B #91CA5B
monochromatic
#2B2A81 #3B39AF #5D5BCA #8B89D9 #B8B8E8

Accessibility & contrast

On white

5.50
#5D5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D5BCA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BCA#FFFFFF#000000##FFFFFF
##5D5BCA1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#2B748A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d5bca;
/* rgb */ color: rgb(93, 91, 202);
/* oklch */ color: oklch(53.3% 0.168 279.9);
Tailwind
colors: {
  custom: {
    50: '#9389db',
    500: '#5d5bca',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bca;
$custom-light: #9389db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bca",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 241.081,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.16763,
    "h": 279.9
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#5D5BCA
secondary
#D6D7AA
accent
#DB4DD8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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