#545CDA#545CDA

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

Color values

HEX#545CDA
RGBrgb(84, 92, 218)
HSLhsl(236, 64%, 59%)
HSVhsv(236, 61%, 85%)
CMYKcmyk(61.5%, 57.8%, 0%, 14.5%)
CIE-LABlab(45.08, 34.78, -65.70)
CIE-LCHlch(45.08, 74.34, 297.89°)
OKLaboklab(54.04% 0.0176 -0.1889)
OKLCHoklch(54.04% 0.19 275.3)
XYZxyz(20.1341, 14.5994, 68.0730)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CDA #DAD254
analogous
#549FDA #545CDA #8F54DA
triadic
#545CDA #DA545C #5CDA54
tetradic
#545CDA #DA549F #DAD254 #54DA8F
square
#545CDA #DA549F #DAD254 #54DA8F
split-complementary
#545CDA #DA8F54 #9FDA54
monochromatic
#202794 #2B34C6 #545CDA #868CE5 #B9BCF0

Accessibility & contrast

On white

5.36
#545CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#545CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CDA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CDA#FFFFFF#000000##FFFFFF
##545CDA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545cda;
/* rgb */ color: rgb(84, 92, 218);
/* oklch */ color: oklch(54.0% 0.190 275.3);
Tailwind
colors: {
  custom: {
    50: '#918ae6',
    500: '#545cda',
    950: '#000000',
  },
}
SCSS
$custom: #545cda;
$custom-light: #918ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#545cda",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 236.418,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.1897,
    "h": 275.3
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#545CDA
secondary
#DFDCAB
accent
#DD40E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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