#545DB3#545DB3

#545DB3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.135 H 276.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#545DB3
RGBrgb(84, 93, 179)
HSLhsl(234, 38%, 52%)
HSVhsv(234, 53%, 70%)
CMYKcmyk(53.1%, 48%, 0%, 29.8%)
CIE-LABlab(42.71, 21.29, -46.98)
CIE-LCHlch(42.71, 51.58, 294.38°)
OKLaboklab(51.43% 0.0143 -0.1338)
OKLCHoklch(51.43% 0.135 276.1)
XYZxyz(15.7046, 12.9672, 44.3145)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB3 #B3AA54
analogous
#548DB3 #545DB3 #7B54B3
triadic
#545DB3 #B3545D #5DB354
tetradic
#545DB3 #B3548D #B3AA54 #54B37B
square
#545DB3 #B3548D #B3AA54 #54B37B
split-complementary
#545DB3 #B37B54 #8DB354
monochromatic
#2B3061 #3E458C #545DB3 #7E85C6 #A9ADD9

Accessibility & contrast

On white

5.84
#545DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#545DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB3#FFFFFF#000000##FFFFFF
##545DB31.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#29707F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db3;
/* rgb */ color: rgb(84, 93, 179);
/* oklch */ color: oklch(51.4% 0.135 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b8aca',
    500: '#545db3',
    950: '#000000',
  },
}
SCSS
$custom: #545db3;
$custom-light: #8b8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#545db3",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 234.316,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.13459,
    "h": 276.1
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#545DB3
secondary
#C6C29D
accent
#C359CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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