#545DD6#545DD6

#545DD6 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.183 H 275.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#545DD6
RGBrgb(84, 93, 214)
HSLhsl(236, 61%, 58%)
HSVhsv(236, 61%, 84%)
CMYKcmyk(60.7%, 56.5%, 0%, 16.1%)
CIE-LABlab(45.04, 32.84, -63.50)
CIE-LCHlch(45.04, 71.48, 297.35°)
OKLaboklab(53.92% 0.0166 -0.1824)
OKLCHoklch(53.92% 0.183 275.2)
XYZxyz(19.7041, 14.5670, 65.3787)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD6 #D6CD54
analogous
#549ED6 #545DD6 #8C54D6
triadic
#545DD6 #D6545D #5DD654
tetradic
#545DD6 #D6549E #D6CD54 #54D68C
square
#545DD6 #D6549E #D6CD54 #54D68C
split-complementary
#545DD6 #D68C54 #9ED654
monochromatic
#22298E #2E38BF #545DD6 #858CE2 #B7BBEE

Accessibility & contrast

On white

5.37
#545DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#545DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DD6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD6#FFFFFF#000000##FFFFFF
##545DD61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545dd6;
/* rgb */ color: rgb(84, 93, 214);
/* oklch */ color: oklch(53.9% 0.183 275.2);
Tailwind
colors: {
  custom: {
    50: '#908be3',
    500: '#545dd6',
    950: '#000000',
  },
}
SCSS
$custom: #545dd6;
$custom-light: #908be3;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd6",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 214
  },
  "hsl": {
    "h": 235.846,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.18314,
    "h": 275.2
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#545DD6
secondary
#DDD9A9
accent
#D943E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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