#545AD7#545AD7

#545AD7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.188 H 275.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#545AD7
RGBrgb(84, 90, 215)
HSLhsl(237, 62%, 59%)
HSVhsv(237, 61%, 84%)
CMYKcmyk(60.9%, 58.1%, 0%, 15.7%)
CIE-LABlab(44.38, 35.02, -65.13)
CIE-LCHlch(44.38, 73.95, 298.26°)
OKLaboklab(53.45% 0.0194 -0.1872)
OKLCHoklch(53.45% 0.188 275.9)
XYZxyz(19.5741, 14.1019, 65.9672)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AD7 #D7D154
analogous
#549BD7 #545AD7 #8F54D7
triadic
#545AD7 #D7545A #5AD754
tetradic
#545AD7 #D7549B #D7D154 #54D78F
square
#545AD7 #D7549B #D7D154 #54D78F
split-complementary
#545AD7 #D78F54 #9BD754
monochromatic
#21278F #2D34C1 #545AD7 #868AE3 #B7BAEE

Accessibility & contrast

On white

5.50
#545AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#545AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AD7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AD7#FFFFFF#000000##FFFFFF
##545AD71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545ad7;
/* rgb */ color: rgb(84, 90, 215);
/* oklch */ color: oklch(53.5% 0.188 275.9);
Tailwind
colors: {
  custom: {
    50: '#9188e4',
    500: '#545ad7',
    950: '#000000',
  },
}
SCSS
$custom: #545ad7;
$custom-light: #9188e4;
$custom-dark: #000000;
JSON
{
  "hex": "#545ad7",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 237.252,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.18823,
    "h": 275.9
  },
  "luminance": 0.14103
}

Semantic roles & 50–950 ramp

primary
#545AD7
secondary
#DDDBA9
accent
#DE43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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