#5545AA#5545AA

#5545AA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.155 H 285.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5545AA
RGBrgb(85, 69, 170)
HSLhsl(250, 42%, 47%)
HSVhsv(250, 59%, 67%)
CMYKcmyk(50%, 59.4%, 0%, 33.3%)
CIE-LABlab(36.16, 33.65, -52.22)
CIE-LCHlch(36.16, 62.12, 302.80°)
OKLaboklab(46.36% 0.0425 -0.1493)
OKLCHoklch(46.36% 0.155 285.9)
XYZxyz(13.1280, 9.0892, 39.0851)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545AA #9AAA45
analogous
#4568AA #5545AA #8845AA
triadic
#5545AA #AA5545 #45AA55
tetradic
#5545AA #AA4568 #9AAA45 #45AA88
square
#5545AA #AA4568 #9AAA45 #45AA88
split-complementary
#5545AA #AA8845 #68AA45
monochromatic
#292253 #3F337E #5545AA #786AC2 #9F95D4

Accessibility & contrast

On white

7.45
#5545AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5545AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5545AA#FFFFFF#000000##FFFFFF
##5545AA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#375C71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5545aa;
/* rgb */ color: rgb(85, 69, 170);
/* oklch */ color: oklch(46.4% 0.155 285.9);
Tailwind
colors: {
  custom: {
    50: '#8c79c4',
    500: '#5545aa',
    950: '#000000',
  },
}
SCSS
$custom: #5545aa;
$custom-light: #8c79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5545aa",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 249.505,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.15527,
    "h": 285.9
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#5545AA
secondary
#B8C08B
accent
#D256BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5545AA

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

Preview Lab → · Contrast checker → · Palette generator →

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