#545BBA#545BBA

#545BBA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.147 H 276.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#545BBA
RGBrgb(84, 91, 186)
HSLhsl(236, 43%, 53%)
HSVhsv(236, 55%, 73%)
CMYKcmyk(54.8%, 51.1%, 0%, 27.1%)
CIE-LABlab(42.63, 24.84, -51.22)
CIE-LCHlch(42.63, 56.92, 295.87°)
OKLaboklab(51.51% 0.0173 -0.1463)
OKLCHoklch(51.51% 0.147 276.7)
XYZxyz(16.2573, 12.9111, 48.0803)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BBA #BAB354
analogous
#548EBA #545BBA #8054BA
triadic
#545BBA #BA545B #5BBA54
tetradic
#545BBA #BA548E #BAB354 #54BA80
square
#545BBA #BA548E #BAB354 #54BA80
split-complementary
#545BBA #BA8054 #8EBA54
monochromatic
#2A2F69 #3C4295 #545BBA #8085CC #ABAFDD

Accessibility & contrast

On white

5.86
#545BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#545BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BBA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BBA#FFFFFF#000000##FFFFFF
##545BBA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#217082
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545bba;
/* rgb */ color: rgb(84, 91, 186);
/* oklch */ color: oklch(51.5% 0.147 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c89cf',
    500: '#545bba',
    950: '#000000',
  },
}
SCSS
$custom: #545bba;
$custom-light: #8c89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#545bba",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 235.882,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.1473,
    "h": 276.7
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#545BBA
secondary
#CBC89F
accent
#CA56D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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