#545DD1#545DD1

#545DD1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.176 H 275.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#545DD1
RGBrgb(84, 93, 209)
HSLhsl(236, 58%, 57%)
HSVhsv(236, 60%, 82%)
CMYKcmyk(59.8%, 55.5%, 0%, 18%)
CIE-LABlab(44.68, 31.18, -61.21)
CIE-LCHlch(44.68, 68.69, 297.00°)
OKLaboklab(53.54% 0.0165 -0.1756)
OKLCHoklch(53.54% 0.176 275.4)
XYZxyz(19.0754, 14.3155, 62.0672)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD1 #D1C854
analogous
#549CD1 #545DD1 #8A54D1
triadic
#545DD1 #D1545D #5DD154
tetradic
#545DD1 #D1549C #D1C854 #54D18A
square
#545DD1 #D1549C #D1C854 #54D18A
split-complementary
#545DD1 #D18A54 #9CD154
monochromatic
#242B86 #313BB7 #545DD1 #848BDE #B4B8EB

Accessibility & contrast

On white

5.44
#545DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#545DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DD1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD1#FFFFFF#000000##FFFFFF
##545DD11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545dd1;
/* rgb */ color: rgb(84, 93, 209);
/* oklch */ color: oklch(53.5% 0.176 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f8ae0',
    500: '#545dd1',
    950: '#000000',
  },
}
SCSS
$custom: #545dd1;
$custom-light: #8f8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd1",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 209
  },
  "hsl": {
    "h": 235.68,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.17642,
    "h": 275.4
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#545DD1
secondary
#DAD6A7
accent
#D647E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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