#5545D9#5545D9

#5545D9 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.215 H 280.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5545D9
RGBrgb(85, 69, 217)
HSLhsl(246, 66%, 56%)
HSVhsv(246, 68%, 85%)
CMYKcmyk(60.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(39.91, 48.23, -73.57)
CIE-LCHlch(39.91, 87.97, 303.25°)
OKLaboklab(50.26% 0.038 -0.212)
OKLCHoklch(50.26% 0.215 280.2)
XYZxyz(18.3949, 11.1959, 66.8239)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545D9 #C9D945
analogous
#457FD9 #5545D9 #9F45D9
triadic
#5545D9 #D95545 #45D955
tetradic
#5545D9 #D9457F #C9D945 #45D99F
square
#5545D9 #D9457F #C9D945 #45D99F
split-complementary
#5545D9 #D99F45 #7FD945
monochromatic
#271C88 #3626BB #5545D9 #8378E3 #B2ABEE

Accessibility & contrast

On white

6.48
#5545D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5545D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5545D9#FFFFFF#000000##FFFFFF
##5545D91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DD
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5545d9;
/* rgb */ color: rgb(85, 69, 217);
/* oklch */ color: oklch(50.3% 0.215 280.2);
Tailwind
colors: {
  custom: {
    50: '#937ae6',
    500: '#5545d9',
    950: '#000000',
  },
}
SCSS
$custom: #5545d9;
$custom-light: #937ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5545d9",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 246.486,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.21543,
    "h": 280.2
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#5545D9
secondary
#D5DB9E
accent
#E93FD7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5545D9

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

Preview Lab → · Contrast checker → · Palette generator →

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