#545AD1#545AD1

#545AD1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.180 H 276.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#545AD1
RGBrgb(84, 90, 209)
HSLhsl(237, 58%, 57%)
HSVhsv(237, 60%, 82%)
CMYKcmyk(59.8%, 56.9%, 0%, 18%)
CIE-LABlab(43.94, 33.04, -62.40)
CIE-LCHlch(43.94, 70.61, 297.90°)
OKLaboklab(52.99% 0.0194 -0.1792)
OKLCHoklch(52.99% 0.18 276.2)
XYZxyz(18.8172, 13.7992, 61.9811)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AD1 #D1CB54
analogous
#5499D1 #545AD1 #8D54D1
triadic
#545AD1 #D1545A #5AD154
tetradic
#545AD1 #D15499 #D1CB54 #54D18D
square
#545AD1 #D15499 #D1CB54 #54D18D
split-complementary
#545AD1 #D18D54 #99D154
monochromatic
#242986 #3138B7 #545AD1 #8489DE #B4B7EB

Accessibility & contrast

On white

5.58
#545AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#545AD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AD1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AD1#FFFFFF#000000##FFFFFF
##545AD11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545ad1;
/* rgb */ color: rgb(84, 90, 209);
/* oklch */ color: oklch(53.0% 0.180 276.2);
Tailwind
colors: {
  custom: {
    50: '#9088e0',
    500: '#545ad1',
    950: '#000000',
  },
}
SCSS
$custom: #545ad1;
$custom-light: #9088e0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ad1",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 209
  },
  "hsl": {
    "h": 237.12,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.18024,
    "h": 276.2
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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