#545CD3#545CD3

#545CD3 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.180 H 275.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#545CD3
RGBrgb(84, 92, 211)
HSLhsl(236, 59%, 58%)
HSVhsv(236, 60%, 83%)
CMYKcmyk(60.2%, 56.4%, 0%, 17.3%)
CIE-LABlab(44.58, 32.46, -62.52)
CIE-LCHlch(44.58, 70.45, 297.44°)
OKLaboklab(53.51% 0.0175 -0.1795)
OKLCHoklch(53.51% 0.18 275.6)
XYZxyz(19.2373, 14.2408, 63.3504)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD3 #D3CB54
analogous
#549CD3 #545CD3 #8B54D3
triadic
#545CD3 #D3545C #5CD354
tetradic
#545CD3 #D3549C #D3CB54 #54D38B
square
#545CD3 #D3549C #D3CB54 #54D38B
split-complementary
#545CD3 #D38B54 #9CD354
monochromatic
#232A89 #3039BA #545CD3 #858AE0 #B5B9EC

Accessibility & contrast

On white

5.46
#545CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#545CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD3#FFFFFF#000000##FFFFFF
##545CD31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545cd3;
/* rgb */ color: rgb(84, 92, 211);
/* oklch */ color: oklch(53.5% 0.180 275.6);
Tailwind
colors: {
  custom: {
    50: '#908ae1',
    500: '#545cd3',
    950: '#000000',
  },
}
SCSS
$custom: #545cd3;
$custom-light: #908ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd3",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 236.22,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.18039,
    "h": 275.6
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#545CD3
secondary
#DBD8A8
accent
#D846E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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