#545DB1#545DB1

#545DB1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.132 H 276.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#545DB1
RGBrgb(84, 93, 177)
HSLhsl(234, 37%, 51%)
HSVhsv(234, 53%, 69%)
CMYKcmyk(52.5%, 47.5%, 0%, 30.6%)
CIE-LABlab(42.59, 20.64, -46.01)
CIE-LCHlch(42.59, 50.42, 294.16°)
OKLaboklab(51.3% 0.014 -0.1309)
OKLCHoklch(51.3% 0.132 276.1)
XYZxyz(15.5038, 12.8869, 43.2569)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB1 #B1A854
analogous
#548BB1 #545DB1 #7954B1
triadic
#545DB1 #B1545D #5DB154
tetradic
#545DB1 #B1548B #B1A854 #54B179
square
#545DB1 #B1548B #B1A854 #54B179
split-complementary
#545DB1 #B17954 #8BB154
monochromatic
#2B305F #3F4689 #545DB1 #7E85C4 #A8ADD7

Accessibility & contrast

On white

5.87
#545DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#545DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB1#FFFFFF#000000##FFFFFF
##545DB11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B4
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#2B6F7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db1;
/* rgb */ color: rgb(84, 93, 177);
/* oklch */ color: oklch(51.3% 0.132 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ac9',
    500: '#545db1',
    950: '#000000',
  },
}
SCSS
$custom: #545db1;
$custom-light: #8b8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#545db1",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 234.194,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.1317,
    "h": 276.1
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#545DB1
secondary
#C5C19C
accent
#C25ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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