#545CD1#545CD1

#545CD1 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.178 H 275.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#545CD1
RGBrgb(84, 92, 209)
HSLhsl(236, 58%, 57%)
HSVhsv(236, 60%, 82%)
CMYKcmyk(59.8%, 56%, 0%, 18%)
CIE-LABlab(44.43, 31.80, -61.61)
CIE-LCHlch(44.43, 69.33, 297.30°)
OKLaboklab(53.36% 0.0175 -0.1768)
OKLCHoklch(53.36% 0.178 275.6)
XYZxyz(18.9882, 14.1411, 62.0381)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD1 #D1C954
analogous
#549BD1 #545CD1 #8B54D1
triadic
#545CD1 #D1545C #5CD154
tetradic
#545CD1 #D1549B #D1C954 #54D18B
square
#545CD1 #D1549B #D1C954 #54D18B
split-complementary
#545CD1 #D18B54 #9BD154
monochromatic
#242A86 #313AB7 #545CD1 #848ADE #B4B8EB

Accessibility & contrast

On white

5.49
#545CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#545CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD1#FFFFFF#000000##FFFFFF
##545CD11.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545cd1;
/* rgb */ color: rgb(84, 92, 209);
/* oklch */ color: oklch(53.4% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#908ae0',
    500: '#545cd1',
    950: '#000000',
  },
}
SCSS
$custom: #545cd1;
$custom-light: #908ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd1",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 236.16,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.1777,
    "h": 275.6
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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