#545DEC#545DEC

#545DEC is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.6% C 0.212 H 274.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#545DEC
RGBrgb(84, 93, 236)
HSLhsl(236, 80%, 63%)
HSVhsv(236, 64%, 93%)
CMYKcmyk(64.4%, 60.6%, 0%, 7.5%)
CIE-LABlab(46.67, 40.12, -73.31)
CIE-LCHlch(46.67, 83.57, 298.69°)
OKLaboklab(55.64% 0.0164 -0.2112)
OKLCHoklch(55.64% 0.212 274.4)
XYZxyz(22.7058, 15.7677, 81.1875)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DEC #ECE354
analogous
#54A9EC #545DEC #9754EC
triadic
#545DEC #EC545D #5DEC54
tetradic
#545DEC #EC54A9 #ECE354 #54EC97
square
#545DEC #EC54A9 #ECE354 #54EC97
split-complementary
#545DEC #EC9754 #A9EC54
monochromatic
#141DB2 #1D29E6 #545DEC #8B91F2 #C2C5F8

Accessibility & contrast

On white

5.06
#545DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#545DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DEC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DEC#FFFFFF#000000##FFFFFF
##545DEC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545dec;
/* rgb */ color: rgb(84, 93, 236);
/* oklch */ color: oklch(55.6% 0.212 274.4);
Tailwind
colors: {
  custom: {
    50: '#948bf3',
    500: '#545dec',
    950: '#000000',
  },
}
SCSS
$custom: #545dec;
$custom-light: #948bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#545dec",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 236.447,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.21187,
    "h": 274.4
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#545DEC
secondary
#E9E6B2
accent
#D009DC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #545DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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