#545BB3#545BB3

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

Color values

HEX#545BB3
RGBrgb(84, 91, 179)
HSLhsl(236, 38%, 52%)
HSVhsv(236, 53%, 70%)
CMYKcmyk(53.1%, 49.2%, 0%, 29.8%)
CIE-LABlab(42.19, 22.55, -47.83)
CIE-LCHlch(42.19, 52.88, 295.25°)
OKLaboklab(51.03% 0.0166 -0.1363)
OKLCHoklch(51.03% 0.137 276.9)
XYZxyz(15.5314, 12.6207, 44.2567)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB3 #B3AC54
analogous
#548BB3 #545BB3 #7D54B3
triadic
#545BB3 #B3545B #5BB354
tetradic
#545BB3 #B3548B #B3AC54 #54B37D
square
#545BB3 #B3548B #B3AC54 #54B37D
split-complementary
#545BB3 #B37D54 #8BB354
monochromatic
#2B2F61 #3E448C #545BB3 #7E84C6 #A9ACD9

Accessibility & contrast

On white

5.96
#545BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545BB3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB3#FFFFFF#000000##FFFFFF
##545BB31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B6
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#2A6E7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb3;
/* rgb */ color: rgb(84, 91, 179);
/* oklch */ color: oklch(51.0% 0.137 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b89ca',
    500: '#545bb3',
    950: '#000000',
  },
}
SCSS
$custom: #545bb3;
$custom-light: #8b89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb3",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 235.579,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51033,
    "c": 0.13734,
    "h": 276.9
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#545BB3
secondary
#C6C39D
accent
#C659CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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