#545BD7#545BD7

#545BD7 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.187 H 275.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#545BD7
RGBrgb(84, 91, 215)
HSLhsl(237, 62%, 59%)
HSVhsv(237, 61%, 84%)
CMYKcmyk(60.9%, 57.7%, 0%, 15.7%)
CIE-LABlab(44.62, 34.40, -64.74)
CIE-LCHlch(44.62, 73.31, 297.99°)
OKLaboklab(53.63% 0.0185 -0.1861)
OKLCHoklch(53.63% 0.187 275.7)
XYZxyz(19.6590, 14.2717, 65.9956)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BD7 #D7D054
analogous
#549CD7 #545BD7 #8E54D7
triadic
#545BD7 #D7545B #5BD754
tetradic
#545BD7 #D7549C #D7D054 #54D78E
square
#545BD7 #D7549C #D7D054 #54D78E
split-complementary
#545BD7 #D78E54 #9CD754
monochromatic
#21278F #2D35C1 #545BD7 #868BE3 #B7BAEE

Accessibility & contrast

On white

5.45
#545BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#545BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BD7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BD7#FFFFFF#000000##FFFFFF
##545BD71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545bd7;
/* rgb */ color: rgb(84, 91, 215);
/* oklch */ color: oklch(53.6% 0.187 275.7);
Tailwind
colors: {
  custom: {
    50: '#9189e4',
    500: '#545bd7',
    950: '#000000',
  },
}
SCSS
$custom: #545bd7;
$custom-light: #9189e4;
$custom-dark: #000000;
JSON
{
  "hex": "#545bd7",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 236.794,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.18698,
    "h": 275.7
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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