#5D54BC#5D54BC

#5D54BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.158 H 283.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5D54BC
RGBrgb(93, 84, 188)
HSLhsl(245, 44%, 53%)
HSVhsv(245, 55%, 74%)
CMYKcmyk(50.5%, 55.3%, 0%, 26.3%)
CIE-LABlab(41.69, 31.73, -53.87)
CIE-LCHlch(41.69, 62.52, 300.50°)
OKLaboklab(51.02% 0.036 -0.1539)
OKLCHoklch(51.02% 0.158 283.2)
XYZxyz(16.7589, 12.2978, 49.0578)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54BC #B3BC54
analogous
#547FBC #5D54BC #9154BC
triadic
#5D54BC #BC5D54 #54BC5D
tetradic
#5D54BC #BC547F #B3BC54 #54BC91
square
#5D54BC #BC547F #B3BC54 #54BC91
split-complementary
#5D54BC #BC9154 #7FBC54
monochromatic
#302A6B #433B97 #5D54BC #8780CD #B0ACDE

Accessibility & contrast

On white

6.07
#5D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54BC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54BC#FFFFFF#000000##FFFFFF
##5D54BC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#065FBA
Tritanopia (blue-blind)
#396B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d54bc;
/* rgb */ color: rgb(93, 84, 188);
/* oklch */ color: oklch(51.0% 0.158 283.2);
Tailwind
colors: {
  custom: {
    50: '#9284d1',
    500: '#5d54bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d54bc;
$custom-light: #9284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54bc",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 245.192,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.15804,
    "h": 283.2
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#5D54BC
secondary
#C8CCA0
accent
#D354C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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