#545CCB#545CCB

#545CCB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.170 H 275.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#545CCB
RGBrgb(84, 92, 203)
HSLhsl(236, 53%, 56%)
HSVhsv(236, 59%, 80%)
CMYKcmyk(58.6%, 54.7%, 0%, 20.4%)
CIE-LABlab(44.02, 29.81, -58.84)
CIE-LCHlch(44.02, 65.96, 296.87°)
OKLaboklab(52.91% 0.0173 -0.1687)
OKLCHoklch(52.91% 0.17 275.8)
XYZxyz(18.2593, 13.8495, 58.1994)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CCB #CBC354
analogous
#5498CB #545CCB #8854CB
triadic
#545CCB #CB545C #5CCB54
tetradic
#545CCB #CB5498 #CBC354 #54CB88
square
#545CCB #CB5498 #CBC354 #54CB88
split-complementary
#545CCB #CB8854 #98CB54
monochromatic
#262C7E #353DAD #545CCB #8389D9 #B2B5E8

Accessibility & contrast

On white

5.57
#545CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#545CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CCB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CCB#FFFFFF#000000##FFFFFF
##545CCB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ccb;
/* rgb */ color: rgb(84, 92, 203);
/* oklch */ color: oklch(52.9% 0.170 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f8adc',
    500: '#545ccb',
    950: '#000000',
  },
}
SCSS
$custom: #545ccb;
$custom-light: #8f8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#545ccb",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 235.966,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.16957,
    "h": 275.8
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#545CCB
secondary
#D6D3A5
accent
#D34BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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