#545CD9#545CD9

#545CD9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.0% C 0.188 H 275.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#545CD9
RGBrgb(84, 92, 217)
HSLhsl(236, 64%, 59%)
HSVhsv(236, 61%, 85%)
CMYKcmyk(61.3%, 57.6%, 0%, 14.9%)
CIE-LABlab(45.01, 34.45, -65.25)
CIE-LCHlch(45.01, 73.79, 297.83°)
OKLaboklab(53.96% 0.0176 -0.1876)
OKLCHoklch(53.96% 0.188 275.3)
XYZxyz(20.0036, 14.5473, 67.3860)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD9 #D9D154
analogous
#549FD9 #545CD9 #8F54D9
triadic
#545CD9 #D9545C #5CD954
tetradic
#545CD9 #D9549F #D9D154 #54D98F
square
#545CD9 #D9549F #D9D154 #54D98F
split-complementary
#545CD9 #D98F54 #9FD954
monochromatic
#202792 #2C35C4 #545CD9 #868CE4 #B8BBEF

Accessibility & contrast

On white

5.37
#545CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#545CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD9#FFFFFF#000000##FFFFFF
##545CD91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545cd9;
/* rgb */ color: rgb(84, 92, 217);
/* oklch */ color: oklch(54.0% 0.188 275.3);
Tailwind
colors: {
  custom: {
    50: '#918ae6',
    500: '#545cd9',
    950: '#000000',
  },
}
SCSS
$custom: #545cd9;
$custom-light: #918ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd9",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 236.391,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.18838,
    "h": 275.3
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#545CD9
secondary
#DFDBAA
accent
#DD41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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