#545DE4#545DE4

#545DE4 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.0% C 0.202 H 274.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#545DE4
RGBrgb(84, 93, 228)
HSLhsl(236, 73%, 61%)
HSVhsv(236, 63%, 89%)
CMYKcmyk(63.2%, 59.2%, 0%, 10.6%)
CIE-LABlab(46.06, 37.48, -69.79)
CIE-LCHlch(46.06, 79.22, 298.24°)
OKLaboklab(55% 0.0166 -0.2009)
OKLCHoklch(55% 0.202 274.7)
XYZxyz(21.5695, 15.3131, 75.2028)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DE4 #E4DB54
analogous
#54A5E4 #545DE4 #9354E4
triadic
#545DE4 #E4545D #5DE454
tetradic
#545DE4 #E454A5 #E4DB54 #54E493
square
#545DE4 #E454A5 #E4DB54 #54E493
split-complementary
#545DE4 #E49354 #A5E454
monochromatic
#1A22A4 #222ED9 #545DE4 #898FEC #BEC1F5

Accessibility & contrast

On white

5.17
#545DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#545DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DE4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DE4#FFFFFF#000000##FFFFFF
##545DE41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545de4;
/* rgb */ color: rgb(84, 93, 228);
/* oklch */ color: oklch(55.0% 0.202 274.7);
Tailwind
colors: {
  custom: {
    50: '#938bed',
    500: '#545de4',
    950: '#000000',
  },
}
SCSS
$custom: #545de4;
$custom-light: #938bed;
$custom-dark: #000000;
JSON
{
  "hex": "#545de4",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 236.25,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.20157,
    "h": 274.7
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#545DE4
secondary
#E5E2AF
accent
#C911D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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