#545ED8#545ED8

#545ED8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.185 H 274.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#545ED8
RGBrgb(84, 94, 216)
HSLhsl(235, 63%, 59%)
HSVhsv(235, 61%, 85%)
CMYKcmyk(61.1%, 56.5%, 0%, 15.3%)
CIE-LABlab(45.42, 32.88, -64.01)
CIE-LCHlch(45.42, 71.96, 297.19°)
OKLaboklab(54.25% 0.0157 -0.1839)
OKLCHoklch(54.25% 0.185 274.9)
XYZxyz(20.0495, 14.8465, 66.7615)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED8 #D8CE54
analogous
#54A0D8 #545ED8 #8C54D8
triadic
#545ED8 #D8545E #5ED854
tetradic
#545ED8 #D854A0 #D8CE54 #54D88C
square
#545ED8 #D854A0 #D8CE54 #54D88C
split-complementary
#545ED8 #D88C54 #A0D854
monochromatic
#212991 #2C38C2 #545ED8 #868DE3 #B8BCEF

Accessibility & contrast

On white

5.29
#545ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#545ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED8#FFFFFF#000000##FFFFFF
##545ED81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ed8;
/* rgb */ color: rgb(84, 94, 216);
/* oklch */ color: oklch(54.3% 0.185 274.9);
Tailwind
colors: {
  custom: {
    50: '#918be5',
    500: '#545ed8',
    950: '#000000',
  },
}
SCSS
$custom: #545ed8;
$custom-light: #918be5;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed8",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 235.455,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.18456,
    "h": 274.9
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#545ED8
secondary
#DEDAAA
accent
#D942E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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