#5545D8#5545D8

#5545D8 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.214 H 280.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5545D8
RGBrgb(85, 69, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(60.6%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.82, 47.92, -73.14)
CIE-LCHlch(39.82, 87.44, 303.23°)
OKLaboklab(50.17% 0.0382 -0.2108)
OKLCHoklch(50.17% 0.214 280.3)
XYZxyz(18.2652, 11.1441, 66.1409)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545D8 #C8D845
analogous
#457ED8 #5545D8 #9F45D8
triadic
#5545D8 #D85545 #45D855
tetradic
#5545D8 #D8457E #C8D845 #45D89F
square
#5545D8 #D8457E #C8D845 #45D89F
split-complementary
#5545D8 #D89F45 #7ED845
monochromatic
#281C86 #3727B9 #5545D8 #8378E3 #B1AAED

Accessibility & contrast

On white

6.50
#5545D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5545D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5545D8#FFFFFF#000000##FFFFFF
##5545D81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5545d8;
/* rgb */ color: rgb(85, 69, 216);
/* oklch */ color: oklch(50.2% 0.214 280.3);
Tailwind
colors: {
  custom: {
    50: '#937ae5',
    500: '#5545d8',
    950: '#000000',
  },
}
SCSS
$custom: #5545d8;
$custom-light: #937ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5545d8",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 246.531,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.21422,
    "h": 280.3
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#5545D8
secondary
#D4DB9E
accent
#E840D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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