#5D4BEC#5D4BEC

#5D4BEC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.4% C 0.230 H 280.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5D4BEC
RGBrgb(93, 75, 236)
HSLhsl(247, 81%, 61%)
HSVhsv(247, 68%, 93%)
CMYKcmyk(60.6%, 68.2%, 0%, 7.5%)
CIE-LABlab(43.38, 51.82, -78.66)
CIE-LCHlch(43.38, 94.19, 303.37°)
OKLaboklab(53.41% 0.0409 -0.2267)
OKLCHoklch(53.41% 0.23 280.2)
XYZxyz(22.1658, 13.4138, 80.7617)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BEC #DAEC4B
analogous
#4B89EC #5D4BEC #AD4BEC
triadic
#5D4BEC #EC5D4B #4BEC5D
tetradic
#5D4BEC #EC4B89 #DAEC4B #4BECAD
square
#5D4BEC #EC4B89 #DAEC4B #4BECAD
split-complementary
#5D4BEC #ECAD4B #89EC4B
monochromatic
#2312AB #2E18E2 #5D4BEC #8F82F2 #C1BAF8

Accessibility & contrast

On white

5.70
#5D4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5D4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BEC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BEC#FFFFFF#000000##FFFFFF
##5D4BEC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#0060E9
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4bec;
/* rgb */ color: rgb(93, 75, 236);
/* oklch */ color: oklch(53.4% 0.230 280.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ff3',
    500: '#5d4bec',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bec;
$custom-light: #9a7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bec",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 246.708,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.23042,
    "h": 280.2
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#5D4BEC
secondary
#E1E8AB
accent
#DD08C5
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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