#545BB2#545BB2

#545BB2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.136 H 277.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#545BB2
RGBrgb(84, 91, 178)
HSLhsl(236, 38%, 51%)
HSVhsv(236, 53%, 70%)
CMYKcmyk(52.8%, 48.9%, 0%, 30.2%)
CIE-LABlab(42.12, 22.23, -47.34)
CIE-LCHlch(42.12, 52.30, 295.15°)
OKLaboklab(50.97% 0.0165 -0.1349)
OKLCHoklch(50.97% 0.136 277)
XYZxyz(15.4306, 12.5804, 43.7260)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB2 #B2AB54
analogous
#548AB2 #545BB2 #7C54B2
triadic
#545BB2 #B2545B #5BB254
tetradic
#545BB2 #B2548A #B2AB54 #54B27C
square
#545BB2 #B2548A #B2AB54 #54B27C
split-complementary
#545BB2 #B27C54 #8AB254
monochromatic
#2B2F60 #3E448A #545BB2 #7E83C5 #A8ACD8

Accessibility & contrast

On white

5.97
#545BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#545BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB2#FFFFFF#000000##FFFFFF
##545BB21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#2B6E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545bb2;
/* rgb */ color: rgb(84, 91, 178);
/* oklch */ color: oklch(51.0% 0.136 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b89c9',
    500: '#545bb2',
    950: '#000000',
  },
}
SCSS
$custom: #545bb2;
$custom-light: #8b89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb2",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 235.532,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.13589,
    "h": 277
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#545BB2
secondary
#C6C39C
accent
#C55ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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