#545AC2#545AC2

#545AC2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.160 H 276.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#545AC2
RGBrgb(84, 90, 194)
HSLhsl(237, 47%, 55%)
HSVhsv(237, 57%, 76%)
CMYKcmyk(56.7%, 53.6%, 0%, 23.9%)
CIE-LABlab(42.90, 28.09, -55.43)
CIE-LCHlch(42.90, 62.15, 296.87°)
OKLaboklab(51.88% 0.0189 -0.1587)
OKLCHoklch(51.88% 0.16 276.8)
XYZxyz(17.0468, 13.0910, 52.6570)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC2 #C2BC54
analogous
#5491C2 #545AC2 #8554C2
triadic
#545AC2 #C2545A #5AC254
tetradic
#545AC2 #C25491 #C2BC54 #54C285
square
#545AC2 #C25491 #C2BC54 #54C285
split-complementary
#545AC2 #C28554 #91C254
monochromatic
#292D73 #393FA0 #545AC2 #8186D2 #AEB1E2

Accessibility & contrast

On white

5.80
#545AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#545AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC2#FFFFFF#000000##FFFFFF
##545AC21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#147285
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545ac2;
/* rgb */ color: rgb(84, 90, 194);
/* oklch */ color: oklch(51.9% 0.160 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d88d5',
    500: '#545ac2',
    950: '#000000',
  },
}
SCSS
$custom: #545ac2;
$custom-light: #8d88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac2",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 236.727,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.15982,
    "h": 276.8
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#545AC2
secondary
#D0CEA2
accent
#D051D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545AC2

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

Preview Lab → · Contrast checker → · Palette generator →

#545AC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva