#5545BF#5545BF

#5545BF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.183 H 283.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5545BF
RGBrgb(85, 69, 191)
HSLhsl(248, 49%, 51%)
HSVhsv(248, 64%, 75%)
CMYKcmyk(55.5%, 63.9%, 0%, 25.1%)
CIE-LABlab(37.75, 40.17, -62.03)
CIE-LCHlch(37.75, 73.90, 302.92°)
OKLaboklab(48.03% 0.0412 -0.1782)
OKLCHoklch(48.03% 0.183 283)
XYZxyz(15.2755, 9.9482, 50.3954)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545BF #AFBF45
analogous
#4572BF #5545BF #9245BF
triadic
#5545BF #BF5545 #45BF55
tetradic
#5545BF #BF4572 #AFBF45 #45BF92
square
#5545BF #BF4572 #AFBF45 #45BF92
split-complementary
#5545BF #BF9245 #72BF45
monochromatic
#2C2366 #403394 #5545BF #7F73CF #A8A0DE

Accessibility & contrast

On white

7.02
#5545BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5545BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5545BF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545BF#FFFFFF#000000##FFFFFF
##5545BF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#22637C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5545bf;
/* rgb */ color: rgb(85, 69, 191);
/* oklch */ color: oklch(48.0% 0.183 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ad3',
    500: '#5545bf',
    950: '#000000',
  },
}
SCSS
$custom: #5545bf;
$custom-light: #8f7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5545bf",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 247.869,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.18292,
    "h": 283
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#5545BF
secondary
#C4CB95
accent
#D84FC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5545BF

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

Preview Lab → · Contrast checker → · Palette generator →

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