#545DD7#545DD7

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

Color values

HEX#545DD7
RGBrgb(84, 93, 215)
HSLhsl(236, 62%, 59%)
HSVhsv(236, 61%, 84%)
CMYKcmyk(60.9%, 56.7%, 0%, 15.7%)
CIE-LABlab(45.11, 33.17, -63.95)
CIE-LCHlch(45.11, 72.04, 297.41°)
OKLaboklab(53.99% 0.0166 -0.1837)
OKLCHoklch(53.99% 0.184 275.2)
XYZxyz(19.8322, 14.6182, 66.0533)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD7 #D7CE54
analogous
#549ED7 #545DD7 #8C54D7
triadic
#545DD7 #D7545D #5DD754
tetradic
#545DD7 #D7549E #D7CE54 #54D78C
square
#545DD7 #D7549E #D7CE54 #54D78C
split-complementary
#545DD7 #D78C54 #9ED754
monochromatic
#21298F #2D37C1 #545DD7 #868CE3 #B7BBEE

Accessibility & contrast

On white

5.35
#545DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545DD7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD7#FFFFFF#000000##FFFFFF
##545DD71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545dd7;
/* rgb */ color: rgb(84, 93, 215);
/* oklch */ color: oklch(54.0% 0.184 275.2);
Tailwind
colors: {
  custom: {
    50: '#908be4',
    500: '#545dd7',
    950: '#000000',
  },
}
SCSS
$custom: #545dd7;
$custom-light: #908be4;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd7",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 235.878,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.18448,
    "h": 275.2
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#545DD7
secondary
#DDDAA9
accent
#DA43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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