#545ACB#545ACB

#545ACB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.172 H 276.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#545ACB
RGBrgb(84, 90, 203)
HSLhsl(237, 53%, 56%)
HSVhsv(237, 59%, 80%)
CMYKcmyk(58.6%, 55.7%, 0%, 20.4%)
CIE-LABlab(43.52, 31.06, -59.64)
CIE-LCHlch(43.52, 67.24, 297.51°)
OKLaboklab(52.54% 0.0193 -0.1711)
OKLCHoklch(52.54% 0.172 276.4)
XYZxyz(18.0883, 13.5076, 58.1424)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ACB #CBC554
analogous
#5496CB #545ACB #8A54CB
triadic
#545ACB #CB545A #5ACB54
tetradic
#545ACB #CB5496 #CBC554 #54CB8A
square
#545ACB #CB5496 #CBC554 #54CB8A
split-complementary
#545ACB #CB8A54 #96CB54
monochromatic
#262B7E #353BAD #545ACB #8387D9 #B2B5E8

Accessibility & contrast

On white

5.67
#545ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#545ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ACB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ACB#FFFFFF#000000##FFFFFF
##545ACB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545acb;
/* rgb */ color: rgb(84, 90, 203);
/* oklch */ color: oklch(52.5% 0.172 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f88dc',
    500: '#545acb',
    950: '#000000',
  },
}
SCSS
$custom: #545acb;
$custom-light: #8f88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#545acb",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 236.975,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.17216,
    "h": 276.4
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#545ACB
secondary
#D6D3A5
accent
#D54BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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