#545CD7#545CD7

#545CD7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.186 H 275.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#545CD7
RGBrgb(84, 92, 215)
HSLhsl(236, 62%, 59%)
HSVhsv(236, 61%, 84%)
CMYKcmyk(60.9%, 57.2%, 0%, 15.7%)
CIE-LABlab(44.86, 33.79, -64.35)
CIE-LCHlch(44.86, 72.68, 297.70°)
OKLaboklab(53.81% 0.0176 -0.1849)
OKLCHoklch(53.81% 0.186 275.4)
XYZxyz(19.7450, 14.4438, 66.0242)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD7 #D7CF54
analogous
#549DD7 #545CD7 #8D54D7
triadic
#545CD7 #D7545C #5CD754
tetradic
#545CD7 #D7549D #D7CF54 #54D78D
square
#545CD7 #D7549D #D7CF54 #54D78D
split-complementary
#545CD7 #D78D54 #9DD754
monochromatic
#21288F #2D36C1 #545CD7 #868BE3 #B7BBEE

Accessibility & contrast

On white

5.40
#545CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#545CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD7#FFFFFF#000000##FFFFFF
##545CD71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545cd7;
/* rgb */ color: rgb(84, 92, 215);
/* oklch */ color: oklch(53.8% 0.186 275.4);
Tailwind
colors: {
  custom: {
    50: '#918ae4',
    500: '#545cd7',
    950: '#000000',
  },
}
SCSS
$custom: #545cd7;
$custom-light: #918ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd7",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 236.336,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.18573,
    "h": 275.4
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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