#5545B2#5545B2

#5545B2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.166 H 284.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5545B2
RGBrgb(85, 69, 178)
HSLhsl(249, 44%, 48%)
HSVhsv(249, 61%, 70%)
CMYKcmyk(52.2%, 61.2%, 0%, 30.2%)
CIE-LABlab(36.75, 36.13, -56.01)
CIE-LCHlch(36.75, 66.65, 302.82°)
OKLaboklab(46.98% 0.0422 -0.1605)
OKLCHoklch(46.98% 0.166 284.7)
XYZxyz(13.9079, 9.4012, 43.1926)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545B2 #A2B245
analogous
#456BB2 #5545B2 #8B45B2
triadic
#5545B2 #B25545 #45B255
tetradic
#5545B2 #B2456B #A2B245 #45B28B
square
#5545B2 #B2456B #A2B245 #45B28B
split-complementary
#5545B2 #B28B45 #6BB245
monochromatic
#2B235A #403486 #5545B2 #7B6EC7 #A39AD8

Accessibility & contrast

On white

7.29
#5545B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5545B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5545B2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545B2#FFFFFF#000000##FFFFFF
##5545B21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#305F75
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5545b2;
/* rgb */ color: rgb(85, 69, 178);
/* oklch */ color: oklch(47.0% 0.166 284.7);
Tailwind
colors: {
  custom: {
    50: '#8d79ca',
    500: '#5545b2',
    950: '#000000',
  },
}
SCSS
$custom: #5545b2;
$custom-light: #8d79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5545b2",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 248.807,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.16596,
    "h": 284.7
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#5545B2
secondary
#BCC48F
accent
#D454C1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5545B2

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

Preview Lab → · Contrast checker → · Palette generator →

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