#545BD8#545BD8

#545BD8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.188 H 275.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#545BD8
RGBrgb(84, 91, 216)
HSLhsl(237, 63%, 59%)
HSVhsv(237, 61%, 85%)
CMYKcmyk(61.1%, 57.9%, 0%, 15.3%)
CIE-LABlab(44.69, 34.73, -65.19)
CIE-LCHlch(44.69, 73.87, 298.05°)
OKLaboklab(53.71% 0.0185 -0.1874)
OKLCHoklch(53.71% 0.188 275.6)
XYZxyz(19.7879, 14.3233, 66.6743)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BD8 #D8D154
analogous
#549DD8 #545BD8 #8F54D8
triadic
#545BD8 #D8545B #5BD854
tetradic
#545BD8 #D8549D #D8D154 #54D88F
square
#545BD8 #D8549D #D8D154 #54D88F
split-complementary
#545BD8 #D88F54 #9DD854
monochromatic
#212791 #2C34C2 #545BD8 #868BE3 #B8BBEF

Accessibility & contrast

On white

5.43
#545BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#545BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BD8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BD8#FFFFFF#000000##FFFFFF
##545BD81.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545bd8;
/* rgb */ color: rgb(84, 91, 216);
/* oklch */ color: oklch(53.7% 0.188 275.6);
Tailwind
colors: {
  custom: {
    50: '#9189e5',
    500: '#545bd8',
    950: '#000000',
  },
}
SCSS
$custom: #545bd8;
$custom-light: #9189e5;
$custom-dark: #000000;
JSON
{
  "hex": "#545bd8",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 236.818,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53707,
    "c": 0.18831,
    "h": 275.6
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#545BD8
secondary
#DEDBAA
accent
#DD42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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