#545DB6#545DB6

#545DB6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.139 H 276.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#545DB6
RGBrgb(84, 93, 182)
HSLhsl(234, 40%, 52%)
HSVhsv(234, 54%, 71%)
CMYKcmyk(53.8%, 48.9%, 0%, 28.6%)
CIE-LABlab(42.90, 22.27, -48.45)
CIE-LCHlch(42.90, 53.32, 294.69°)
OKLaboklab(51.63% 0.0146 -0.1381)
OKLCHoklch(51.63% 0.139 276.1)
XYZxyz(16.0113, 13.0899, 45.9298)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB6 #B6AD54
analogous
#548EB6 #545DB6 #7C54B6
triadic
#545DB6 #B6545D #5DB654
tetradic
#545DB6 #B6548E #B6AD54 #54B67C
square
#545DB6 #B6548E #B6AD54 #54B67C
split-complementary
#545DB6 #B67C54 #8EB654
monochromatic
#2B3065 #3D4590 #545DB6 #7F86C8 #AAAEDB

Accessibility & contrast

On white

5.80
#545DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#545DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB6#FFFFFF#000000##FFFFFF
##545DB61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B9
Deuteranopia (green-blind)
#2761B4
Tritanopia (blue-blind)
#267181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db6;
/* rgb */ color: rgb(84, 93, 182);
/* oklch */ color: oklch(51.6% 0.139 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b8acc',
    500: '#545db6',
    950: '#000000',
  },
}
SCSS
$custom: #545db6;
$custom-light: #8b8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#545db6",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 182
  },
  "hsl": {
    "h": 234.49,
    "s": 40.164,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.13889,
    "h": 276.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#545DB6
secondary
#C8C49E
accent
#C558D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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