#545ED1#545ED1

#545ED1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.175 H 275.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#545ED1
RGBrgb(84, 94, 209)
HSLhsl(235, 58%, 57%)
HSVhsv(235, 60%, 82%)
CMYKcmyk(59.8%, 55%, 0%, 18%)
CIE-LABlab(44.93, 30.56, -60.80)
CIE-LCHlch(44.93, 68.05, 296.68°)
OKLaboklab(53.73% 0.0155 -0.1745)
OKLCHoklch(53.73% 0.175 275.1)
XYZxyz(19.1637, 14.4922, 62.0966)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED1 #D1C754
analogous
#549DD1 #545ED1 #8954D1
triadic
#545ED1 #D1545E #5ED154
tetradic
#545ED1 #D1549D #D1C754 #54D189
square
#545ED1 #D1549D #D1C754 #54D189
split-complementary
#545ED1 #D18954 #9DD154
monochromatic
#242C86 #313CB7 #545ED1 #848BDE #B4B9EB

Accessibility & contrast

On white

5.39
#545ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#545ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED1#FFFFFF#000000##FFFFFF
##545ED11.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0270D5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545ed1;
/* rgb */ color: rgb(84, 94, 209);
/* oklch */ color: oklch(53.7% 0.175 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f8be0',
    500: '#545ed1',
    950: '#000000',
  },
}
SCSS
$custom: #545ed1;
$custom-light: #8f8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed1",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 209
  },
  "hsl": {
    "h": 235.2,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.17515,
    "h": 275.1
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#545ED1
secondary
#DAD6A7
accent
#D547E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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