#545BC9#545BC9

#545BC9 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.168 H 276.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#545BC9
RGBrgb(84, 91, 201)
HSLhsl(236, 52%, 56%)
HSVhsv(236, 58%, 79%)
CMYKcmyk(58.2%, 54.7%, 0%, 21.2%)
CIE-LABlab(43.63, 29.77, -58.31)
CIE-LCHlch(43.63, 65.47, 297.05°)
OKLaboklab(52.58% 0.0182 -0.1671)
OKLCHoklch(52.58% 0.168 276.2)
XYZxyz(17.9365, 13.5827, 56.9236)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC9 #C9C254
analogous
#5495C9 #545BC9 #8754C9
triadic
#545BC9 #C9545B #5BC954
tetradic
#545BC9 #C95495 #C9C254 #54C987
square
#545BC9 #C95495 #C9C254 #54C987
split-complementary
#545BC9 #C98754 #95C954
monochromatic
#272C7C #363DAA #545BC9 #8388D8 #B1B4E6

Accessibility & contrast

On white

5.65
#545BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#545BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC9#FFFFFF#000000##FFFFFF
##545BC91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCD
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545bc9;
/* rgb */ color: rgb(84, 91, 201);
/* oklch */ color: oklch(52.6% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e89da',
    500: '#545bc9',
    950: '#000000',
  },
}
SCSS
$custom: #545bc9;
$custom-light: #8e89da;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc9",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 236.41,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.16814,
    "h": 276.2
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#545BC9
secondary
#D5D2A4
accent
#D34CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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