#545BBB#545BBB

#545BBB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.149 H 276.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#545BBB
RGBrgb(84, 91, 187)
HSLhsl(236, 43%, 53%)
HSVhsv(236, 55%, 73%)
CMYKcmyk(55.1%, 51.3%, 0%, 26.7%)
CIE-LABlab(42.69, 25.17, -51.70)
CIE-LCHlch(42.69, 57.50, 295.96°)
OKLaboklab(51.58% 0.0174 -0.1477)
OKLCHoklch(51.58% 0.149 276.7)
XYZxyz(16.3640, 12.9537, 48.6421)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BBB #BBB454
analogous
#548EBB #545BBB #8054BB
triadic
#545BBB #BB545B #5BBB54
tetradic
#545BBB #BB548E #BBB454 #54BB80
square
#545BBB #BB548E #BBB454 #54BB80
split-complementary
#545BBB #BB8054 #8EBB54
monochromatic
#2A2F6A #3C4296 #545BBB #8085CC #ACAFDE

Accessibility & contrast

On white

5.85
#545BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#545BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BBB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BBB#FFFFFF#000000##FFFFFF
##545BBB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#207182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545bbb;
/* rgb */ color: rgb(84, 91, 187);
/* oklch */ color: oklch(51.6% 0.149 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c89d0',
    500: '#545bbb',
    950: '#000000',
  },
}
SCSS
$custom: #545bbb;
$custom-light: #8c89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#545bbb",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 235.922,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.14871,
    "h": 276.7
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#545BBB
secondary
#CCC99F
accent
#CA55D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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