#545DD2#545DD2

#545DD2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.178 H 275.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#545DD2
RGBrgb(84, 93, 210)
HSLhsl(236, 58%, 58%)
HSVhsv(236, 60%, 82%)
CMYKcmyk(60%, 55.7%, 0%, 17.6%)
CIE-LABlab(44.75, 31.51, -61.67)
CIE-LCHlch(44.75, 69.25, 297.07°)
OKLaboklab(53.62% 0.0165 -0.177)
OKLCHoklch(53.62% 0.178 275.3)
XYZxyz(19.1996, 14.3652, 62.7213)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD2 #D2C954
analogous
#549CD2 #545DD2 #8A54D2
triadic
#545DD2 #D2545D #5DD254
tetradic
#545DD2 #D2549C #D2C954 #54D28A
square
#545DD2 #D2549C #D2C954 #54D28A
split-complementary
#545DD2 #D28A54 #9CD254
monochromatic
#242B88 #313AB8 #545DD2 #848BDF #B5B9EB

Accessibility & contrast

On white

5.42
#545DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#545DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DD2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD2#FFFFFF#000000##FFFFFF
##545DD21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545dd2;
/* rgb */ color: rgb(84, 93, 210);
/* oklch */ color: oklch(53.6% 0.178 275.3);
Tailwind
colors: {
  custom: {
    50: '#908ae1',
    500: '#545dd2',
    950: '#000000',
  },
}
SCSS
$custom: #545dd2;
$custom-light: #908ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd2",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 235.714,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.17778,
    "h": 275.3
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#545DD2
secondary
#DAD7A8
accent
#D646E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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