#545CD4#545CD4

#545CD4 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.182 H 275.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#545CD4
RGBrgb(84, 92, 212)
HSLhsl(236, 60%, 58%)
HSVhsv(236, 60%, 83%)
CMYKcmyk(60.4%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.65, 32.79, -62.98)
CIE-LCHlch(44.65, 71.01, 297.50°)
OKLaboklab(53.58% 0.0175 -0.1809)
OKLCHoklch(53.58% 0.182 275.5)
XYZxyz(19.3631, 14.2911, 64.0127)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD4 #D4CC54
analogous
#549CD4 #545CD4 #8C54D4
triadic
#545CD4 #D4545C #5CD454
tetradic
#545CD4 #D4549C #D4CC54 #54D48C
square
#545CD4 #D4549C #D4CC54 #54D48C
split-complementary
#545CD4 #D48C54 #9CD454
monochromatic
#23298B #2F38BC #545CD4 #858BE0 #B6B9ED

Accessibility & contrast

On white

5.44
#545CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#545CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD4#FFFFFF#000000##FFFFFF
##545CD41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545cd4;
/* rgb */ color: rgb(84, 92, 212);
/* oklch */ color: oklch(53.6% 0.182 275.5);
Tailwind
colors: {
  custom: {
    50: '#908ae2',
    500: '#545cd4',
    950: '#000000',
  },
}
SCSS
$custom: #545cd4;
$custom-light: #908ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd4",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 236.25,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.18173,
    "h": 275.5
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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