#545ED5#545ED5

#545ED5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.181 H 275.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#545ED5
RGBrgb(84, 94, 213)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(60.6%, 55.9%, 0%, 16.5%)
CIE-LABlab(45.21, 31.89, -62.64)
CIE-LCHlch(45.21, 70.29, 296.98°)
OKLaboklab(54.02% 0.0157 -0.1799)
OKLCHoklch(54.02% 0.181 275)
XYZxyz(19.6652, 14.6928, 64.7376)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED5 #D5CB54
analogous
#549ED5 #545ED5 #8A54D5
triadic
#545ED5 #D5545E #5ED554
tetradic
#545ED5 #D5549E #D5CB54 #54D58A
square
#545ED5 #D5549E #D5CB54 #54D58A
split-complementary
#545ED5 #D58A54 #9ED554
monochromatic
#222B8C #2E3ABD #545ED5 #858CE1 #B6BBED

Accessibility & contrast

On white

5.33
#545ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#545ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED5#FFFFFF#000000##FFFFFF
##545ED51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ed5;
/* rgb */ color: rgb(84, 94, 213);
/* oklch */ color: oklch(54.0% 0.181 275.0);
Tailwind
colors: {
  custom: {
    50: '#908be3',
    500: '#545ed5',
    950: '#000000',
  },
}
SCSS
$custom: #545ed5;
$custom-light: #908be3;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed5",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 235.349,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.18054,
    "h": 275
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#545ED5
secondary
#DCD8A9
accent
#D744E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #545ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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