#545BB8#545BB8

#545BB8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.144 H 276.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#545BB8
RGBrgb(84, 91, 184)
HSLhsl(236, 41%, 53%)
HSVhsv(236, 54%, 72%)
CMYKcmyk(54.3%, 50.5%, 0%, 27.8%)
CIE-LABlab(42.50, 24.18, -50.25)
CIE-LCHlch(42.50, 55.77, 295.70°)
OKLaboklab(51.37% 0.0171 -0.1434)
OKLCHoklch(51.37% 0.144 276.8)
XYZxyz(16.0462, 12.8266, 46.9683)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB8 #B8B154
analogous
#548DB8 #545BB8 #7F54B8
triadic
#545BB8 #B8545B #5BB854
tetradic
#545BB8 #B8548D #B8B154 #54B87F
square
#545BB8 #B8548D #B8B154 #54B87F
split-complementary
#545BB8 #B87F54 #8DB854
monochromatic
#2B2F67 #3D4392 #545BB8 #7F84CA #AAAEDC

Accessibility & contrast

On white

5.89
#545BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#545BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB8#FFFFFF#000000##FFFFFF
##545BB81.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BB
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#247081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb8;
/* rgb */ color: rgb(84, 91, 184);
/* oklch */ color: oklch(51.4% 0.144 276.8);
Tailwind
colors: {
  custom: {
    50: '#8c89ce',
    500: '#545bb8',
    950: '#000000',
  },
}
SCSS
$custom: #545bb8;
$custom-light: #8c89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb8",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 235.8,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.14447,
    "h": 276.8
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#545BB8
secondary
#CAC79E
accent
#C957D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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