#545EC1#545EC1

#545EC1 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.153 H 275.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#545EC1
RGBrgb(84, 94, 193)
HSLhsl(234, 47%, 54%)
HSVhsv(234, 56%, 76%)
CMYKcmyk(56.5%, 51.3%, 0%, 24.3%)
CIE-LABlab(43.86, 25.26, -53.31)
CIE-LCHlch(43.86, 58.99, 295.35°)
OKLaboklab(52.58% 0.0146 -0.1524)
OKLCHoklch(52.58% 0.153 275.5)
XYZxyz(17.2814, 13.7393, 52.1830)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EC1 #C1B754
analogous
#5495C1 #545EC1 #8154C1
triadic
#545EC1 #C1545E #5EC154
tetradic
#545EC1 #C15495 #C1B754 #54C181
square
#545EC1 #C15495 #C1B754 #54C181
split-complementary
#545EC1 #C18154 #95C154
monochromatic
#293071 #39439E #545EC1 #8188D1 #AEB3E2

Accessibility & contrast

On white

5.60
#545EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#545EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EC1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EC1#FFFFFF#000000##FFFFFF
##545EC11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296CC5
Deuteranopia (green-blind)
#1563BF
Tritanopia (blue-blind)
#157486
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ec1;
/* rgb */ color: rgb(84, 94, 193);
/* oklch */ color: oklch(52.6% 0.153 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d8bd4',
    500: '#545ec1',
    950: '#000000',
  },
}
SCSS
$custom: #545ec1;
$custom-light: #8d8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#545ec1",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 234.495,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.15312,
    "h": 275.5
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#545EC1
secondary
#D0CBA1
accent
#CA51D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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