#545ED6#545ED6

#545ED6 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.182 H 274.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#545ED6
RGBrgb(84, 94, 214)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(60.7%, 56.1%, 0%, 16.1%)
CIE-LABlab(45.28, 32.22, -63.10)
CIE-LCHlch(45.28, 70.85, 297.05°)
OKLaboklab(54.1% 0.0157 -0.1812)
OKLCHoklch(54.1% 0.182 274.9)
XYZxyz(19.7925, 14.7437, 65.4081)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED6 #D6CC54
analogous
#549FD6 #545ED6 #8B54D6
triadic
#545ED6 #D6545E #5ED654
tetradic
#545ED6 #D6549F #D6CC54 #54D68B
square
#545ED6 #D6549F #D6CC54 #54D68B
split-complementary
#545ED6 #D68B54 #9FD654
monochromatic
#222A8E #2E39BF #545ED6 #858CE2 #B7BBEE

Accessibility & contrast

On white

5.32
#545ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#545ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED6#FFFFFF#000000##FFFFFF
##545ED61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545ed6;
/* rgb */ color: rgb(84, 94, 214);
/* oklch */ color: oklch(54.1% 0.182 274.9);
Tailwind
colors: {
  custom: {
    50: '#908be3',
    500: '#545ed6',
    950: '#000000',
  },
}
SCSS
$custom: #545ed6;
$custom-light: #908be3;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed6",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 235.385,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.18189,
    "h": 274.9
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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