#545BAE#545BAE

#545BAE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.130 H 277.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#545BAE
RGBrgb(84, 91, 174)
HSLhsl(235, 36%, 51%)
HSVhsv(235, 52%, 68%)
CMYKcmyk(51.7%, 47.7%, 0%, 31.8%)
CIE-LABlab(41.88, 20.93, -45.38)
CIE-LCHlch(41.88, 49.98, 294.76°)
OKLaboklab(50.7% 0.016 -0.1291)
OKLCHoklch(50.7% 0.13 277.1)
XYZxyz(15.0348, 12.4221, 41.6417)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BAE #AEA754
analogous
#5488AE #545BAE #7A54AE
triadic
#545BAE #AE545B #5BAE54
tetradic
#545BAE #AE5488 #AEA754 #54AE7A
square
#545BAE #AE5488 #AEA754 #54AE7A
split-complementary
#545BAE #AE7A54 #88AE54
monochromatic
#2C2F5C #3F4586 #545BAE #7E83C2 #A7ABD5

Accessibility & contrast

On white

6.03
#545BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#545BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BAE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BAE#FFFFFF#000000##FFFFFF
##545BAE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#2E6D7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545bae;
/* rgb */ color: rgb(84, 91, 174);
/* oklch */ color: oklch(50.7% 0.130 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a89c7',
    500: '#545bae',
    950: '#000000',
  },
}
SCSS
$custom: #545bae;
$custom-light: #8a89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#545bae",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 235.333,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.13013,
    "h": 277.1
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#545BAE
secondary
#C3C09B
accent
#C35CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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