#5545DC#5545DC

#5545DC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.219 H 279.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5545DC
RGBrgb(85, 69, 220)
HSLhsl(246, 68%, 57%)
HSVhsv(246, 69%, 86%)
CMYKcmyk(61.4%, 68.6%, 0%, 13.7%)
CIE-LABlab(40.17, 49.16, -74.86)
CIE-LCHlch(40.17, 89.56, 303.29°)
OKLaboklab(50.52% 0.0376 -0.2158)
OKLCHoklch(50.52% 0.219 279.9)
XYZxyz(18.7886, 11.3534, 68.8976)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545DC #CCDC45
analogous
#4580DC #5545DC #A145DC
triadic
#5545DC #DC5545 #45DC55
tetradic
#5545DC #DC4580 #CCDC45 #45DCA1
square
#5545DC #DC4580 #CCDC45 #45DCA1
split-complementary
#5545DC #DCA145 #80DC45
monochromatic
#261A8C #3524C0 #5545DC #8479E6 #B3ACEF

Accessibility & contrast

On white

6.42
#5545DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5545DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545DC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545DC#FFFFFF#000000##FFFFFF
##5545DC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5545dc;
/* rgb */ color: rgb(85, 69, 220);
/* oklch */ color: oklch(50.5% 0.219 279.9);
Tailwind
colors: {
  custom: {
    50: '#947ae8',
    500: '#5545dc',
    950: '#000000',
  },
}
SCSS
$custom: #5545dc;
$custom-light: #947ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5545dc",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 246.358,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.21908,
    "h": 279.9
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#5545DC
secondary
#D7DDA0
accent
#EB3DD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5545DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5545DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva