#545BC1#545BC1

#545BC1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.157 H 276.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#545BC1
RGBrgb(84, 91, 193)
HSLhsl(236, 47%, 54%)
HSVhsv(236, 56%, 76%)
CMYKcmyk(56.5%, 52.8%, 0%, 24.3%)
CIE-LABlab(43.09, 27.14, -54.55)
CIE-LCHlch(43.09, 60.93, 296.45°)
OKLaboklab(52% 0.0178 -0.1561)
OKLCHoklch(52% 0.157 276.5)
XYZxyz(17.0198, 13.2161, 52.0958)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC1 #C1BA54
analogous
#5492C1 #545BC1 #8454C1
triadic
#545BC1 #C1545B #5BC154
tetradic
#545BC1 #C15492 #C1BA54 #54C184
square
#545BC1 #C15492 #C1BA54 #54C184
split-complementary
#545BC1 #C18454 #92C154
monochromatic
#292E71 #39409E #545BC1 #8186D1 #AEB1E2

Accessibility & contrast

On white

5.76
#545BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#545BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC1#FFFFFF#000000##FFFFFF
##545BC11.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206AC5
Deuteranopia (green-blind)
#0361BF
Tritanopia (blue-blind)
#167285
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545bc1;
/* rgb */ color: rgb(84, 91, 193);
/* oklch */ color: oklch(52.0% 0.157 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d89d4',
    500: '#545bc1',
    950: '#000000',
  },
}
SCSS
$custom: #545bc1;
$custom-light: #8d89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc1",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 236.147,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52,
    "c": 0.15711,
    "h": 276.5
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#545BC1
secondary
#D0CDA1
accent
#CE51D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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