#545DC3#545DC3

#545DC3 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.157 H 275.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#545DC3
RGBrgb(84, 93, 195)
HSLhsl(235, 48%, 55%)
HSVhsv(235, 57%, 76%)
CMYKcmyk(56.9%, 52.3%, 0%, 23.5%)
CIE-LABlab(43.73, 26.54, -54.68)
CIE-LCHlch(43.73, 60.78, 295.90°)
OKLaboklab(52.53% 0.0158 -0.1564)
OKLCHoklch(52.53% 0.157 275.8)
XYZxyz(17.4177, 13.6524, 53.3365)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC3 #C3BA54
analogous
#5495C3 #545DC3 #8354C3
triadic
#545DC3 #C3545D #5DC354
tetradic
#545DC3 #C35495 #C3BA54 #54C383
square
#545DC3 #C35495 #C3BA54 #54C383
split-complementary
#545DC3 #C38354 #95C354
monochromatic
#292F74 #3941A1 #545DC3 #8188D3 #AFB3E3

Accessibility & contrast

On white

5.63
#545DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545DC3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC3#FFFFFF#000000##FFFFFF
##545DC31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC7
Deuteranopia (green-blind)
#0863C1
Tritanopia (blue-blind)
#107487
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545dc3;
/* rgb */ color: rgb(84, 93, 195);
/* oklch */ color: oklch(52.5% 0.157 275.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ad6',
    500: '#545dc3',
    950: '#000000',
  },
}
SCSS
$custom: #545dc3;
$custom-light: #8d8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc3",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 235.135,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.15724,
    "h": 275.8
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#545DC3
secondary
#D1CDA2
accent
#CD50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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