#5D5BF2#5D5BF2

#5D5BF2 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.220 H 277.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D5BF2
RGBrgb(93, 91, 242)
HSLhsl(241, 85%, 65%)
HSVhsv(241, 62%, 95%)
CMYKcmyk(61.6%, 62.4%, 0%, 5.1%)
CIE-LABlab(47.26, 44.57, -75.69)
CIE-LCHlch(47.26, 87.84, 300.49°)
OKLaboklab(56.37% 0.0278 -0.218)
OKLCHoklch(56.37% 0.22 277.3)
XYZxyz(24.2771, 16.2182, 85.8383)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BF2 #F0F25B
analogous
#5BA4F2 #5D5BF2 #A95BF2
triadic
#5D5BF2 #F25D5B #5BF25D
tetradic
#5D5BF2 #F25BA4 #F0F25B #5BF2A9
square
#5D5BF2 #F25BA4 #F0F25B #5BF2A9
split-complementary
#5D5BF2 #F2A95B #A4F25B
monochromatic
#120FC3 #2522EE #5D5BF2 #9594F6 #CDCCFB

Accessibility & contrast

On white

4.95
#5D5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5D5BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BF2#FFFFFF#000000##FFFFFF
##5D5BF21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5bf2;
/* rgb */ color: rgb(93, 91, 242);
/* oklch */ color: oklch(56.4% 0.220 277.3);
Tailwind
colors: {
  custom: {
    50: '#9a8af7',
    500: '#5d5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bf2;
$custom-light: #9a8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bf2",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 240.795,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.21978,
    "h": 277.3
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#5D5BF2
secondary
#EDEEBB
accent
#E204DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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