#5545BC#5545BC

#5545BC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.179 H 283.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5545BC
RGBrgb(85, 69, 188)
HSLhsl(248, 47%, 50%)
HSVhsv(248, 63%, 74%)
CMYKcmyk(54.8%, 63.3%, 0%, 26.3%)
CIE-LABlab(37.51, 39.23, -60.66)
CIE-LCHlch(37.51, 72.24, 302.89°)
OKLaboklab(47.78% 0.0415 -0.1742)
OKLCHoklch(47.78% 0.179 283.4)
XYZxyz(14.9488, 9.8175, 48.6745)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545BC #ACBC45
analogous
#4570BC #5545BC #9045BC
triadic
#5545BC #BC5545 #45BC55
tetradic
#5545BC #BC4570 #ACBC45 #45BC90
square
#5545BC #BC4570 #ACBC45 #45BC90
split-complementary
#5545BC #BC9045 #70BC45
monochromatic
#2C2463 #403490 #5545BC #7E72CC #A79FDC

Accessibility & contrast

On white

7.09
#5545BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5545BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5545BC#FFFFFF#000000##FFFFFF
##5545BC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#26627A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5545bc;
/* rgb */ color: rgb(85, 69, 188);
/* oklch */ color: oklch(47.8% 0.179 283.4);
Tailwind
colors: {
  custom: {
    50: '#8e79d1',
    500: '#5545bc',
    950: '#000000',
  },
}
SCSS
$custom: #5545bc;
$custom-light: #8e79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5545bc",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 248.067,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.17906,
    "h": 283.4
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#5545BC
secondary
#C2C994
accent
#D751C5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5545BC

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

Preview Lab → · Contrast checker → · Palette generator →

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