#545CAB#545CAB

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

Color values

HEX#545CAB
RGBrgb(84, 92, 171)
HSLhsl(234, 34%, 50%)
HSVhsv(234, 51%, 67%)
CMYKcmyk(50.9%, 46.2%, 0%, 32.9%)
CIE-LABlab(41.97, 19.33, -43.47)
CIE-LCHlch(41.97, 47.58, 293.97°)
OKLaboklab(50.71% 0.0144 -0.1235)
OKLCHoklch(50.71% 0.124 276.6)
XYZxyz(14.8317, 12.4785, 40.1472)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CAB #ABA354
analogous
#5487AB #545CAB #7854AB
triadic
#545CAB #AB545C #5CAB54
tetradic
#545CAB #AB5487 #ABA354 #54AB78
square
#545CAB #AB5487 #ABA354 #54AB78
split-complementary
#545CAB #AB7854 #87AB54
monochromatic
#2C3059 #404682 #545CAB #7D83BF #A6AAD3

Accessibility & contrast

On white

6.01
#545CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#545CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CAB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CAB#FFFFFF#000000##FFFFFF
##545CAB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#3260A9
Tritanopia (blue-blind)
#316D7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545cab;
/* rgb */ color: rgb(84, 92, 171);
/* oklch */ color: oklch(50.7% 0.124 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ac4',
    500: '#545cab',
    950: '#000000',
  },
}
SCSS
$custom: #545cab;
$custom-light: #8a8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#545cab",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 234.483,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.12437,
    "h": 276.6
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#545CAB
secondary
#C1BD9A
accent
#C05ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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