#5545C8#5545C8

#5545C8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.194 H 282.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5545C8
RGBrgb(85, 69, 200)
HSLhsl(247, 54%, 53%)
HSVhsv(247, 66%, 78%)
CMYKcmyk(57.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(38.48, 42.97, -66.10)
CIE-LCHlch(38.48, 78.84, 303.02°)
OKLaboklab(48.78% 0.0403 -0.1902)
OKLCHoklch(48.78% 0.194 282)
XYZxyz(16.2965, 10.3566, 55.7727)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545C8 #B8C845
analogous
#4577C8 #5545C8 #9645C8
triadic
#5545C8 #C85545 #45C855
tetradic
#5545C8 #C84577 #B8C845 #45C896
square
#5545C8 #C84577 #B8C845 #45C896
split-complementary
#5545C8 #C89645 #77C845
monochromatic
#2B2171 #3D2FA0 #5545C8 #8074D6 #ABA3E4

Accessibility & contrast

On white

6.84
#5545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5545C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5545C8#FFFFFF#000000##FFFFFF
##5545C81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#126680
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5545c8;
/* rgb */ color: rgb(85, 69, 200);
/* oklch */ color: oklch(48.8% 0.194 282.0);
Tailwind
colors: {
  custom: {
    50: '#907ada',
    500: '#5545c8',
    950: '#000000',
  },
}
SCSS
$custom: #5545c8;
$custom-light: #907ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5545c8",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 247.328,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.19438,
    "h": 282
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#5545C8
secondary
#CAD198
accent
#DE4ACC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5545C8

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

Preview Lab → · Contrast checker → · Palette generator →

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