#545ECD#545ECD

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

Color values

HEX#545ECD
RGBrgb(84, 94, 205)
HSLhsl(235, 55%, 57%)
HSVhsv(235, 59%, 80%)
CMYKcmyk(59%, 54.1%, 0%, 19.6%)
CIE-LABlab(44.66, 29.23, -58.95)
CIE-LCHlch(44.66, 65.80, 296.37°)
OKLaboklab(53.43% 0.0154 -0.169)
OKLCHoklch(53.43% 0.17 275.2)
XYZxyz(18.6747, 14.2966, 59.5212)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ECD #CDC354
analogous
#549BCD #545ECD #8754CD
triadic
#545ECD #CD545E #5ECD54
tetradic
#545ECD #CD549B #CDC354 #54CD87
square
#545ECD #CD549B #CDC354 #54CD87
split-complementary
#545ECD #CD8754 #9BCD54
monochromatic
#262D81 #343EB0 #545ECD #838BDB #B3B7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545ECD#FFFFFF#000000##FFFFFF
##545ECD1.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)
#126FD1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545ecd;
/* rgb */ color: rgb(84, 94, 205);
/* oklch */ color: oklch(53.4% 0.170 275.2);
Tailwind
colors: {
  custom: {
    50: '#8f8bdd',
    500: '#545ecd',
    950: '#000000',
  },
}
SCSS
$custom: #545ecd;
$custom-light: #8f8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#545ecd",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 235.041,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.16972,
    "h": 275.2
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#545ECD
secondary
#D7D3A6
accent
#D24ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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