#5545CB#5545CB

#5545CB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.0% C 0.198 H 281.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5545CB
RGBrgb(85, 69, 203)
HSLhsl(247, 56%, 53%)
HSVhsv(247, 66%, 80%)
CMYKcmyk(58.1%, 66%, 0%, 20.4%)
CIE-LABlab(38.72, 43.90, -67.44)
CIE-LCHlch(38.72, 80.47, 303.06°)
OKLaboklab(49.04% 0.0399 -0.1941)
OKLCHoklch(49.04% 0.198 281.6)
XYZxyz(16.6506, 10.4982, 57.6373)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545CB #BBCB45
analogous
#4578CB #5545CB #9845CB
triadic
#5545CB #CB5545 #45CB55
tetradic
#5545CB #CB4578 #BBCB45 #45CB98
square
#5545CB #CB4578 #BBCB45 #45CB98
split-complementary
#5545CB #CB9845 #78CB45
monochromatic
#2B2175 #3C2EA5 #5545CB #8175D8 #ACA5E6

Accessibility & contrast

On white

6.77
#5545CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5545CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5545CB#FFFFFF#000000##FFFFFF
##5545CB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#096782
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5545cb;
/* rgb */ color: rgb(85, 69, 203);
/* oklch */ color: oklch(49.0% 0.198 281.6);
Tailwind
colors: {
  custom: {
    50: '#917adc',
    500: '#5545cb',
    950: '#000000',
  },
}
SCSS
$custom: #5545cb;
$custom-light: #917adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5545cb",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 247.164,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49035,
    "c": 0.19815,
    "h": 281.6
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#5545CB
secondary
#CCD399
accent
#E048CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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