#545BD1#545BD1

#545BD1 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.179 H 275.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#545BD1
RGBrgb(84, 91, 209)
HSLhsl(237, 58%, 57%)
HSVhsv(237, 60%, 82%)
CMYKcmyk(59.8%, 56.5%, 0%, 18%)
CIE-LABlab(44.19, 32.42, -62.01)
CIE-LCHlch(44.19, 69.97, 297.60°)
OKLaboklab(53.17% 0.0184 -0.178)
OKLCHoklch(53.17% 0.179 275.9)
XYZxyz(18.9021, 13.9690, 62.0094)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BD1 #D1CA54
analogous
#549AD1 #545BD1 #8C54D1
triadic
#545BD1 #D1545B #5BD154
tetradic
#545BD1 #D1549A #D1CA54 #54D18C
square
#545BD1 #D1549A #D1CA54 #54D18C
split-complementary
#545BD1 #D18C54 #9AD154
monochromatic
#242A86 #3139B7 #545BD1 #8489DE #B4B8EB

Accessibility & contrast

On white

5.54
#545BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#545BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BD1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BD1#FFFFFF#000000##FFFFFF
##545BD11.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545bd1;
/* rgb */ color: rgb(84, 91, 209);
/* oklch */ color: oklch(53.2% 0.179 275.9);
Tailwind
colors: {
  custom: {
    50: '#9089e0',
    500: '#545bd1',
    950: '#000000',
  },
}
SCSS
$custom: #545bd1;
$custom-light: #9089e0;
$custom-dark: #000000;
JSON
{
  "hex": "#545bd1",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 236.64,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.17898,
    "h": 275.9
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#545BD1
secondary
#DAD7A7
accent
#D847E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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