#545ED4#545ED4

#545ED4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.179 H 275.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#545ED4
RGBrgb(84, 94, 212)
HSLhsl(235, 60%, 58%)
HSVhsv(235, 60%, 83%)
CMYKcmyk(60.4%, 55.7%, 0%, 16.9%)
CIE-LABlab(45.14, 31.56, -62.18)
CIE-LCHlch(45.14, 69.73, 296.91°)
OKLaboklab(53.95% 0.0156 -0.1785)
OKLCHoklch(53.95% 0.179 275)
XYZxyz(19.5386, 14.6422, 64.0712)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED4 #D4CA54
analogous
#549ED4 #545ED4 #8A54D4
triadic
#545ED4 #D4545E #5ED454
tetradic
#545ED4 #D4549E #D4CA54 #54D48A
square
#545ED4 #D4549E #D4CA54 #54D48A
split-complementary
#545ED4 #D48A54 #9ED454
monochromatic
#232B8B #2F3ABC #545ED4 #858CE0 #B6BAED

Accessibility & contrast

On white

5.35
#545ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#545ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED4#FFFFFF#000000##FFFFFF
##545ED41.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ed4;
/* rgb */ color: rgb(84, 94, 212);
/* oklch */ color: oklch(53.9% 0.179 275.0);
Tailwind
colors: {
  custom: {
    50: '#908be2',
    500: '#545ed4',
    950: '#000000',
  },
}
SCSS
$custom: #545ed4;
$custom-light: #908be2;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed4",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 235.313,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.1792,
    "h": 275
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#545ED4
secondary
#DBD7A8
accent
#D745E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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