#545DB7#545DB7

#545DB7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.140 H 276.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#545DB7
RGBrgb(84, 93, 183)
HSLhsl(235, 41%, 52%)
HSVhsv(235, 54%, 72%)
CMYKcmyk(54.1%, 49.2%, 0%, 28.2%)
CIE-LABlab(42.96, 22.60, -48.93)
CIE-LCHlch(42.96, 53.90, 294.79°)
OKLaboklab(51.7% 0.0148 -0.1395)
OKLCHoklch(51.7% 0.14 276)
XYZxyz(16.1150, 13.1314, 46.4760)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB7 #B7AE54
analogous
#548FB7 #545DB7 #7C54B7
triadic
#545DB7 #B7545D #5DB754
tetradic
#545DB7 #B7548F #B7AE54 #54B77C
square
#545DB7 #B7548F #B7AE54 #54B77C
split-complementary
#545DB7 #B77C54 #8FB754
monochromatic
#2B3066 #3D4591 #545DB7 #7F86C9 #AAAFDB

Accessibility & contrast

On white

5.79
#545DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#545DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB7#FFFFFF#000000##FFFFFF
##545DB71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#2562B5
Tritanopia (blue-blind)
#257181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db7;
/* rgb */ color: rgb(84, 93, 183);
/* oklch */ color: oklch(51.7% 0.140 276.0);
Tailwind
colors: {
  custom: {
    50: '#8b8acd',
    500: '#545db7',
    950: '#000000',
  },
}
SCSS
$custom: #545db7;
$custom-light: #8b8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#545db7",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 234.545,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.14033,
    "h": 276
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#545DB7
secondary
#C9C59E
accent
#C657D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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