#545EC5#545EC5

#545EC5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.159 H 275.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#545EC5
RGBrgb(84, 94, 197)
HSLhsl(235, 49%, 55%)
HSVhsv(235, 57%, 77%)
CMYKcmyk(57.4%, 52.3%, 0%, 22.7%)
CIE-LABlab(44.12, 26.58, -55.21)
CIE-LCHlch(44.12, 61.27, 295.71°)
OKLaboklab(52.86% 0.0149 -0.158)
OKLCHoklch(52.86% 0.159 275.4)
XYZxyz(17.7336, 13.9202, 54.5649)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EC5 #C5BB54
analogous
#5497C5 #545EC5 #8254C5
triadic
#545EC5 #C5545E #5EC554
tetradic
#545EC5 #C55497 #C5BB54 #54C582
square
#545EC5 #C55497 #C5BB54 #54C582
split-complementary
#545EC5 #C58254 #97C554
monochromatic
#282F76 #3841A4 #545EC5 #8289D5 #AFB4E4

Accessibility & contrast

On white

5.55
#545EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#545EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EC5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EC5#FFFFFF#000000##FFFFFF
##545EC51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#0564C3
Tritanopia (blue-blind)
#0A7688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ec5;
/* rgb */ color: rgb(84, 94, 197);
/* oklch */ color: oklch(52.9% 0.159 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d8bd7',
    500: '#545ec5',
    950: '#000000',
  },
}
SCSS
$custom: #545ec5;
$custom-light: #8d8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#545ec5",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 234.69,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.1587,
    "h": 275.4
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#545EC5
secondary
#D2CEA3
accent
#CD4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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