#545BCA#545BCA

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

Color values

HEX#545BCA
RGBrgb(84, 91, 202)
HSLhsl(236, 53%, 56%)
HSVhsv(236, 58%, 79%)
CMYKcmyk(58.4%, 55%, 0%, 20.8%)
CIE-LABlab(43.70, 30.10, -58.77)
CIE-LCHlch(43.70, 66.04, 297.12°)
OKLaboklab(52.65% 0.0182 -0.1685)
OKLCHoklch(52.65% 0.17 276.2)
XYZxyz(18.0545, 13.6299, 57.5451)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BCA #CAC354
analogous
#5496CA #545BCA #8854CA
triadic
#545BCA #CA545B #5BCA54
tetradic
#545BCA #CA5496 #CAC354 #54CA88
square
#545BCA #CA5496 #CAC354 #54CA88
split-complementary
#545BCA #CA8854 #96CA54
monochromatic
#272C7D #353CAC #545BCA #8388D8 #B1B5E7

Accessibility & contrast

On white

5.64
#545BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#545BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BCA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BCA#FFFFFF#000000##FFFFFF
##545BCA1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096CCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545bca;
/* rgb */ color: rgb(84, 91, 202);
/* oklch */ color: oklch(52.7% 0.170 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e89db',
    500: '#545bca',
    950: '#000000',
  },
}
SCSS
$custom: #545bca;
$custom-light: #8e89db;
$custom-dark: #000000;
JSON
{
  "hex": "#545bca",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 236.441,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.1695,
    "h": 276.2
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#545BCA
secondary
#D5D2A5
accent
#D44CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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