#545DCB#545DCB

#545DCB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.168 H 275.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#545DCB
RGBrgb(84, 93, 203)
HSLhsl(235, 53%, 56%)
HSVhsv(235, 59%, 80%)
CMYKcmyk(58.6%, 54.2%, 0%, 20.4%)
CIE-LABlab(44.27, 29.19, -58.43)
CIE-LCHlch(44.27, 65.32, 296.55°)
OKLaboklab(53.1% 0.0163 -0.1675)
OKLCHoklch(53.1% 0.168 275.6)
XYZxyz(18.3465, 14.0239, 58.2284)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DCB #CBC254
analogous
#5499CB #545DCB #8754CB
triadic
#545DCB #CB545D #5DCB54
tetradic
#545DCB #CB5499 #CBC254 #54CB87
square
#545DCB #CB5499 #CBC254 #54CB87
split-complementary
#545DCB #CB8754 #99CB54
monochromatic
#262D7E #353EAD #545DCB #8389D9 #B2B6E8

Accessibility & contrast

On white

5.52
#545DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#545DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DCB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DCB#FFFFFF#000000##FFFFFF
##545DCB1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ECF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545dcb;
/* rgb */ color: rgb(84, 93, 203);
/* oklch */ color: oklch(53.1% 0.168 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e8adc',
    500: '#545dcb',
    950: '#000000',
  },
}
SCSS
$custom: #545dcb;
$custom-light: #8e8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#545dcb",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 235.462,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.16827,
    "h": 275.6
  },
  "luminance": 0.14025
}

Semantic roles & 50–950 ramp

primary
#545DCB
secondary
#D6D2A5
accent
#D24BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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