#545DEF#545DEF

#545DEF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.9% C 0.216 H 274.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#545DEF
RGBrgb(84, 93, 239)
HSLhsl(237, 83%, 63%)
HSVhsv(237, 65%, 94%)
CMYKcmyk(64.9%, 61.1%, 0%, 6.3%)
CIE-LABlab(46.90, 41.11, -74.62)
CIE-LCHlch(46.90, 85.19, 298.85°)
OKLaboklab(55.88% 0.0162 -0.2151)
OKLCHoklch(55.88% 0.216 274.3)
XYZxyz(23.1453, 15.9435, 83.5023)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DEF #EFE654
analogous
#54AAEF #545DEF #9854EF
triadic
#545DEF #EF545D #5DEF54
tetradic
#545DEF #EF54AA #EFE654 #54EF98
square
#545DEF #EF54AA #EFE654 #54EF98
split-complementary
#545DEF #EF9854 #AAEF54
monochromatic
#111BB7 #1C28EA #545DEF #8C92F4 #C4C7F9

Accessibility & contrast

On white

5.01
#545DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#545DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DEF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DEF#FFFFFF#000000##FFFFFF
##545DEF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545def;
/* rgb */ color: rgb(84, 93, 239);
/* oklch */ color: oklch(55.9% 0.216 274.3);
Tailwind
colors: {
  custom: {
    50: '#958bf5',
    500: '#545def',
    950: '#000000',
  },
}
SCSS
$custom: #545def;
$custom-light: #958bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#545def",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 236.516,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.21569,
    "h": 274.3
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#545DEF
secondary
#EBE8B4
accent
#D306DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #545DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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