#545CD6#545CD6

#545CD6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.184 H 275.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#545CD6
RGBrgb(84, 92, 214)
HSLhsl(236, 61%, 58%)
HSVhsv(236, 61%, 84%)
CMYKcmyk(60.7%, 57%, 0%, 16.1%)
CIE-LABlab(44.79, 33.45, -63.89)
CIE-LCHlch(44.79, 72.12, 297.64°)
OKLaboklab(53.73% 0.0175 -0.1836)
OKLCHoklch(53.73% 0.184 275.5)
XYZxyz(19.6169, 14.3926, 65.3496)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD6 #D6CE54
analogous
#549DD6 #545CD6 #8D54D6
triadic
#545CD6 #D6545C #5CD654
tetradic
#545CD6 #D6549D #D6CE54 #54D68D
square
#545CD6 #D6549D #D6CE54 #54D68D
split-complementary
#545CD6 #D68D54 #9DD654
monochromatic
#22298E #2E37BF #545CD6 #858BE2 #B7BAEE

Accessibility & contrast

On white

5.41
#545CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#545CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD6#FFFFFF#000000##FFFFFF
##545CD61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545cd6;
/* rgb */ color: rgb(84, 92, 214);
/* oklch */ color: oklch(53.7% 0.184 275.5);
Tailwind
colors: {
  custom: {
    50: '#908ae3',
    500: '#545cd6',
    950: '#000000',
  },
}
SCSS
$custom: #545cd6;
$custom-light: #908ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd6",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 236.308,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53734,
    "c": 0.1844,
    "h": 275.5
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#545CD6
secondary
#DDDAA9
accent
#DB43E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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