#545DB4#545DB4

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

Color values

HEX#545DB4
RGBrgb(84, 93, 180)
HSLhsl(234, 39%, 52%)
HSVhsv(234, 53%, 71%)
CMYKcmyk(53.3%, 48.3%, 0%, 29.4%)
CIE-LABlab(42.77, 21.62, -47.47)
CIE-LCHlch(42.77, 52.16, 294.48°)
OKLaboklab(51.5% 0.0144 -0.1353)
OKLCHoklch(51.5% 0.136 276.1)
XYZxyz(15.8061, 13.0078, 44.8490)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB4 #B4AB54
analogous
#548DB4 #545DB4 #7B54B4
triadic
#545DB4 #B4545D #5DB454
tetradic
#545DB4 #B4548D #B4AB54 #54B47B
square
#545DB4 #B4548D #B4AB54 #54B47B
split-complementary
#545DB4 #B47B54 #8DB454
monochromatic
#2B3062 #3E458D #545DB4 #7F85C7 #A9AED9

Accessibility & contrast

On white

5.83
#545DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#545DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB4#FFFFFF#000000##FFFFFF
##545DB41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#2A61B2
Tritanopia (blue-blind)
#287080
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db4;
/* rgb */ color: rgb(84, 93, 180);
/* oklch */ color: oklch(51.5% 0.136 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b8acb',
    500: '#545db4',
    950: '#000000',
  },
}
SCSS
$custom: #545db4;
$custom-light: #8b8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#545db4",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 234.375,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.13603,
    "h": 276.1
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#545DB4
secondary
#C7C39D
accent
#C459CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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