#545CE5#545CE5

#545CE5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.9% C 0.204 H 274.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#545CE5
RGBrgb(84, 92, 229)
HSLhsl(237, 74%, 61%)
HSVhsv(237, 63%, 90%)
CMYKcmyk(63.3%, 59.8%, 0%, 10.2%)
CIE-LABlab(45.90, 38.42, -70.62)
CIE-LCHlch(45.90, 80.39, 298.55°)
OKLaboklab(54.9% 0.0174 -0.2033)
OKLCHoklch(54.9% 0.204 274.9)
XYZxyz(21.6215, 15.1944, 75.9070)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE5 #E5DD54
analogous
#54A5E5 #545CE5 #9554E5
triadic
#545CE5 #E5545C #5CE554
tetradic
#545CE5 #E554A5 #E5DD54 #54E595
square
#545CE5 #E554A5 #E5DD54 #54E595
split-complementary
#545CE5 #E59554 #A5E554
monochromatic
#1921A5 #212BDB #545CE5 #898FED #BEC1F5

Accessibility & contrast

On white

5.20
#545CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#545CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE5#FFFFFF#000000##FFFFFF
##545CE51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545ce5;
/* rgb */ color: rgb(84, 92, 229);
/* oklch */ color: oklch(54.9% 0.204 274.9);
Tailwind
colors: {
  custom: {
    50: '#938aee',
    500: '#545ce5',
    950: '#000000',
  },
}
SCSS
$custom: #545ce5;
$custom-light: #938aee;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce5",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 236.69,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.20407,
    "h": 274.9
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#545CE5
secondary
#E6E3AF
accent
#CB10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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