#545BD5#545BD5

#545BD5 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.184 H 275.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#545BD5
RGBrgb(84, 91, 213)
HSLhsl(237, 61%, 58%)
HSVhsv(237, 61%, 84%)
CMYKcmyk(60.6%, 57.3%, 0%, 16.5%)
CIE-LABlab(44.48, 33.74, -63.83)
CIE-LCHlch(44.48, 72.20, 297.86°)
OKLaboklab(53.48% 0.0185 -0.1834)
OKLCHoklch(53.48% 0.184 275.7)
XYZxyz(19.4036, 14.1696, 64.6504)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BD5 #D5CE54
analogous
#549BD5 #545BD5 #8D54D5
triadic
#545BD5 #D5545B #5BD554
tetradic
#545BD5 #D5549B #D5CE54 #54D58D
square
#545BD5 #D5549B #D5CE54 #54D58D
split-complementary
#545BD5 #D58D54 #9BD554
monochromatic
#22288C #2E36BD #545BD5 #858AE1 #B6B9ED

Accessibility & contrast

On white

5.48
#545BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#545BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BD5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BD5#FFFFFF#000000##FFFFFF
##545BD51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545bd5;
/* rgb */ color: rgb(84, 91, 213);
/* oklch */ color: oklch(53.5% 0.184 275.7);
Tailwind
colors: {
  custom: {
    50: '#9089e3',
    500: '#545bd5',
    950: '#000000',
  },
}
SCSS
$custom: #545bd5;
$custom-light: #9089e3;
$custom-dark: #000000;
JSON
{
  "hex": "#545bd5",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 236.744,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.18433,
    "h": 275.7
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#545BD5
secondary
#DCD9A9
accent
#DB44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #545BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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