#545CD5#545CD5

#545CD5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.183 H 275.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#545CD5
RGBrgb(84, 92, 213)
HSLhsl(236, 61%, 58%)
HSVhsv(236, 61%, 84%)
CMYKcmyk(60.6%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.72, 33.12, -63.44)
CIE-LCHlch(44.72, 71.56, 297.57°)
OKLaboklab(53.66% 0.0175 -0.1822)
OKLCHoklch(53.66% 0.183 275.5)
XYZxyz(19.4896, 14.3417, 64.6791)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD5 #D5CD54
analogous
#549CD5 #545CD5 #8C54D5
triadic
#545CD5 #D5545C #5CD554
tetradic
#545CD5 #D5549C #D5CD54 #54D58C
square
#545CD5 #D5549C #D5CD54 #54D58C
split-complementary
#545CD5 #D58C54 #9CD554
monochromatic
#22298C #2E37BD #545CD5 #858BE1 #B6BAED

Accessibility & contrast

On white

5.43
#545CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#545CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD5#FFFFFF#000000##FFFFFF
##545CD51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545cd5;
/* rgb */ color: rgb(84, 92, 213);
/* oklch */ color: oklch(53.7% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#908ae3',
    500: '#545cd5',
    950: '#000000',
  },
}
SCSS
$custom: #545cd5;
$custom-light: #908ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd5",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 236.279,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53658,
    "c": 0.18307,
    "h": 275.5
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#545CD5
secondary
#DCD9A9
accent
#DA44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #545CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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