#5545C5#5545C5

#5545C5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.191 H 282.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5545C5
RGBrgb(85, 69, 197)
HSLhsl(248, 52%, 52%)
HSVhsv(248, 65%, 77%)
CMYKcmyk(56.9%, 65%, 0%, 22.7%)
CIE-LABlab(38.23, 42.03, -64.75)
CIE-LCHlch(38.23, 77.20, 302.99°)
OKLaboklab(48.53% 0.0406 -0.1862)
OKLCHoklch(48.53% 0.191 282.3)
XYZxyz(15.9494, 10.2177, 53.9443)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545C5 #B5C545
analogous
#4575C5 #5545C5 #9545C5
triadic
#5545C5 #C55545 #45C555
tetradic
#5545C5 #C54575 #B5C545 #45C595
square
#5545C5 #C54575 #B5C545 #45C595
split-complementary
#5545C5 #C59545 #75C545
monochromatic
#2C226D #3E319C #5545C5 #8074D4 #AAA2E2

Accessibility & contrast

On white

6.90
#5545C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5545C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545C5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545C5#FFFFFF#000000##FFFFFF
##5545C51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#19657F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5545c5;
/* rgb */ color: rgb(85, 69, 197);
/* oklch */ color: oklch(48.5% 0.191 282.3);
Tailwind
colors: {
  custom: {
    50: '#907ad8',
    500: '#5545c5',
    950: '#000000',
  },
}
SCSS
$custom: #5545c5;
$custom-light: #907ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#5545c5",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 247.5,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.19058,
    "h": 282.3
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#5545C5
secondary
#C8CF97
accent
#DC4CCA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5545C5

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

Preview Lab → · Contrast checker → · Palette generator →

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