#5D54CD#5D54CD

#5D54CD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.181 H 281.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5D54CD
RGBrgb(93, 84, 205)
HSLhsl(244, 55%, 57%)
HSVhsv(244, 59%, 80%)
CMYKcmyk(54.6%, 59%, 0%, 19.6%)
CIE-LABlab(42.88, 37.04, -61.80)
CIE-LCHlch(42.88, 72.05, 300.93°)
OKLaboklab(52.28% 0.036 -0.1772)
OKLCHoklch(52.28% 0.181 281.5)
XYZxyz(18.7006, 13.0744, 59.2840)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54CD #C4CD54
analogous
#5488CD #5D54CD #9A54CD
triadic
#5D54CD #CD5D54 #54CD5D
tetradic
#5D54CD #CD5488 #C4CD54 #54CD9A
square
#5D54CD #CD5488 #C4CD54 #54CD9A
split-complementary
#5D54CD #CD9A54 #88CD54
monochromatic
#2C2681 #3D34B0 #5D54CD #8A83DB #B7B3E9

Accessibility & contrast

On white

5.81
#5D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54CD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54CD#FFFFFF#000000##FFFFFF
##5D54CD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#287188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d54cd;
/* rgb */ color: rgb(93, 84, 205);
/* oklch */ color: oklch(52.3% 0.181 281.5);
Tailwind
colors: {
  custom: {
    50: '#9484dd',
    500: '#5d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d54cd;
$custom-light: #9484dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54cd",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 244.463,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.18086,
    "h": 281.5
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#5D54CD
secondary
#D3D7A6
accent
#DE4AD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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