#545ED7#545ED7

#545ED7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.183 H 274.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#545ED7
RGBrgb(84, 94, 215)
HSLhsl(235, 62%, 59%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(60.9%, 56.3%, 0%, 15.7%)
CIE-LABlab(45.35, 32.55, -63.55)
CIE-LCHlch(45.35, 71.40, 297.12°)
OKLaboklab(54.17% 0.0157 -0.1825)
OKLCHoklch(54.17% 0.183 274.9)
XYZxyz(19.9206, 14.7949, 66.0828)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED7 #D7CD54
analogous
#549FD7 #545ED7 #8B54D7
triadic
#545ED7 #D7545E #5ED754
tetradic
#545ED7 #D7549F #D7CD54 #54D78B
square
#545ED7 #D7549F #D7CD54 #54D78B
split-complementary
#545ED7 #D78B54 #9FD754
monochromatic
#212A8F #2D38C1 #545ED7 #868DE3 #B7BBEE

Accessibility & contrast

On white

5.30
#545ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#545ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED7#FFFFFF#000000##FFFFFF
##545ED71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ed7;
/* rgb */ color: rgb(84, 94, 215);
/* oklch */ color: oklch(54.2% 0.183 274.9);
Tailwind
colors: {
  custom: {
    50: '#908be4',
    500: '#545ed7',
    950: '#000000',
  },
}
SCSS
$custom: #545ed7;
$custom-light: #908be4;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed7",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 235.42,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.18322,
    "h": 274.9
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#545ED7
secondary
#DDD9A9
accent
#D943E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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