#545ED9#545ED9

#545ED9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.186 H 274.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#545ED9
RGBrgb(84, 94, 217)
HSLhsl(235, 64%, 59%)
HSVhsv(235, 61%, 85%)
CMYKcmyk(61.3%, 56.7%, 0%, 14.9%)
CIE-LABlab(45.49, 33.22, -64.46)
CIE-LCHlch(45.49, 72.52, 297.26°)
OKLaboklab(54.33% 0.0157 -0.1852)
OKLCHoklch(54.33% 0.186 274.9)
XYZxyz(20.1791, 14.8984, 67.4445)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED9 #D9CF54
analogous
#54A1D9 #545ED9 #8D54D9
triadic
#545ED9 #D9545E #5ED954
tetradic
#545ED9 #D954A1 #D9CF54 #54D98D
square
#545ED9 #D954A1 #D9CF54 #54D98D
split-complementary
#545ED9 #D98D54 #A1D954
monochromatic
#202992 #2C37C4 #545ED9 #868DE4 #B8BCEF

Accessibility & contrast

On white

5.28
#545ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#545ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED9#FFFFFF#000000##FFFFFF
##545ED91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ed9;
/* rgb */ color: rgb(84, 94, 217);
/* oklch */ color: oklch(54.3% 0.186 274.9);
Tailwind
colors: {
  custom: {
    50: '#918be6',
    500: '#545ed9',
    950: '#000000',
  },
}
SCSS
$custom: #545ed9;
$custom-light: #918be6;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed9",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 235.489,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.18589,
    "h": 274.9
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#545ED9
secondary
#DFDBAA
accent
#DA41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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