#545DC4#545DC4

#545DC4 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.159 H 275.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#545DC4
RGBrgb(84, 93, 196)
HSLhsl(235, 49%, 55%)
HSVhsv(235, 57%, 77%)
CMYKcmyk(57.1%, 52.6%, 0%, 23.1%)
CIE-LABlab(43.80, 26.87, -55.15)
CIE-LCHlch(43.80, 61.35, 295.98°)
OKLaboklab(52.6% 0.0159 -0.1578)
OKLCHoklch(52.6% 0.159 275.7)
XYZxyz(17.5311, 13.6978, 53.9340)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC4 #C4BB54
analogous
#5495C4 #545DC4 #8354C4
triadic
#545DC4 #C4545D #5DC454
tetradic
#545DC4 #C45495 #C4BB54 #54C483
square
#545DC4 #C45495 #C4BB54 #54C483
split-complementary
#545DC4 #C48354 #95C454
monochromatic
#282F75 #3841A3 #545DC4 #8288D4 #AFB3E3

Accessibility & contrast

On white

5.62
#545DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#545DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC4#FFFFFF#000000##FFFFFF
##545DC41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226CC8
Deuteranopia (green-blind)
#0363C2
Tritanopia (blue-blind)
#0E7587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545dc4;
/* rgb */ color: rgb(84, 93, 196);
/* oklch */ color: oklch(52.6% 0.159 275.7);
Tailwind
colors: {
  custom: {
    50: '#8d8ad6',
    500: '#545dc4',
    950: '#000000',
  },
}
SCSS
$custom: #545dc4;
$custom-light: #8d8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc4",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 235.179,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.15863,
    "h": 275.7
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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