#5D54CA#5D54CA

#5D54CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.177 H 281.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5D54CA
RGBrgb(93, 84, 202)
HSLhsl(245, 53%, 56%)
HSVhsv(245, 58%, 79%)
CMYKcmyk(54%, 58.4%, 0%, 20.8%)
CIE-LABlab(42.66, 36.10, -60.42)
CIE-LCHlch(42.66, 70.39, 300.85°)
OKLaboklab(52.05% 0.0361 -0.1732)
OKLCHoklch(52.05% 0.177 281.8)
XYZxyz(18.3419, 12.9310, 57.3951)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54CA #C1CA54
analogous
#5486CA #5D54CA #9854CA
triadic
#5D54CA #CA5D54 #54CA5D
tetradic
#5D54CA #CA5486 #C1CA54 #54CA98
square
#5D54CA #CA5486 #C1CA54 #54CA98
split-complementary
#5D54CA #CA9854 #86CA54
monochromatic
#2D277D #3E35AC #5D54CA #8983D8 #B6B1E7

Accessibility & contrast

On white

5.86
#5D54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5D54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54CA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54CA#FFFFFF#000000##FFFFFF
##5D54CA1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#2C7087
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d54ca;
/* rgb */ color: rgb(93, 84, 202);
/* oklch */ color: oklch(52.0% 0.177 281.8);
Tailwind
colors: {
  custom: {
    50: '#9484db',
    500: '#5d54ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d54ca;
$custom-light: #9484db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54ca",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 244.576,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.17689,
    "h": 281.8
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#5D54CA
secondary
#D2D5A5
accent
#DC4CD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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