#545CB1#545CB1

#545CB1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.133 H 276.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#545CB1
RGBrgb(84, 92, 177)
HSLhsl(235, 37%, 51%)
HSVhsv(235, 53%, 69%)
CMYKcmyk(52.5%, 48%, 0%, 30.6%)
CIE-LABlab(42.33, 21.27, -46.43)
CIE-LCHlch(42.33, 51.07, 294.61°)
OKLaboklab(51.1% 0.0152 -0.1322)
OKLCHoklch(51.1% 0.133 276.6)
XYZxyz(15.4166, 12.7125, 43.2278)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB1 #B1A954
analogous
#548AB1 #545CB1 #7A54B1
triadic
#545CB1 #B1545C #5CB154
tetradic
#545CB1 #B1548A #B1A954 #54B17A
square
#545CB1 #B1548A #B1A954 #54B17A
split-complementary
#545CB1 #B17A54 #8AB154
monochromatic
#2B305F #3F4589 #545CB1 #7E84C4 #A8ACD7

Accessibility & contrast

On white

5.93
#545CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#545CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CB1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CB1#FFFFFF#000000##FFFFFF
##545CB11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#2B6F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545cb1;
/* rgb */ color: rgb(84, 92, 177);
/* oklch */ color: oklch(51.1% 0.133 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ac9',
    500: '#545cb1',
    950: '#000000',
  },
}
SCSS
$custom: #545cb1;
$custom-light: #8b8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb1",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 234.839,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.13308,
    "h": 276.6
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#545CB1
secondary
#C5C19C
accent
#C35ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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