#5545C2#5545C2

#5545C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.187 H 282.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5545C2
RGBrgb(85, 69, 194)
HSLhsl(248, 51%, 52%)
HSVhsv(248, 64%, 76%)
CMYKcmyk(56.2%, 64.4%, 0%, 23.9%)
CIE-LABlab(37.99, 41.10, -63.40)
CIE-LCHlch(37.99, 75.56, 302.95°)
OKLaboklab(48.28% 0.0409 -0.1822)
OKLCHoklch(48.28% 0.187 282.7)
XYZxyz(15.6090, 10.0816, 52.1519)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5545C2 #B2C245
analogous
#4574C2 #5545C2 #9445C2
triadic
#5545C2 #C25545 #45C255
tetradic
#5545C2 #C24574 #B2C245 #45C294
square
#5545C2 #C24574 #B2C245 #45C294
split-complementary
#5545C2 #C29445 #74C245
monochromatic
#2C236A #3F3298 #5545C2 #7F73D1 #A9A1E0

Accessibility & contrast

On white

6.96
#5545C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5545C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5545C2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5545C2#FFFFFF#000000##FFFFFF
##5545C21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#1E647D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5545c2;
/* rgb */ color: rgb(85, 69, 194);
/* oklch */ color: oklch(48.3% 0.187 282.7);
Tailwind
colors: {
  custom: {
    50: '#8f7ad5',
    500: '#5545c2',
    950: '#000000',
  },
}
SCSS
$custom: #5545c2;
$custom-light: #8f7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#5545c2",
  "rgb": {
    "r": 85,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 247.68,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.18676,
    "h": 282.7
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#5545C2
secondary
#C6CD96
accent
#DA4EC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5545C2

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

Preview Lab → · Contrast checker → · Palette generator →

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