#545DD4#545DD4

#545DD4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.180 H 275.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#545DD4
RGBrgb(84, 93, 212)
HSLhsl(236, 60%, 58%)
HSVhsv(236, 60%, 83%)
CMYKcmyk(60.4%, 56.1%, 0%, 16.9%)
CIE-LABlab(44.89, 32.17, -62.58)
CIE-LCHlch(44.89, 70.37, 297.21°)
OKLaboklab(53.76% 0.0166 -0.1797)
OKLCHoklch(53.76% 0.18 275.3)
XYZxyz(19.4503, 14.4655, 64.0417)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD4 #D4CB54
analogous
#549DD4 #545DD4 #8B54D4
triadic
#545DD4 #D4545D #5DD454
tetradic
#545DD4 #D4549D #D4CB54 #54D48B
square
#545DD4 #D4549D #D4CB54 #54D48B
split-complementary
#545DD4 #D48B54 #9DD454
monochromatic
#232A8B #2F39BC #545DD4 #858BE0 #B6BAED

Accessibility & contrast

On white

5.39
#545DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#545DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DD4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD4#FFFFFF#000000##FFFFFF
##545DD41.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545dd4;
/* rgb */ color: rgb(84, 93, 212);
/* oklch */ color: oklch(53.8% 0.180 275.3);
Tailwind
colors: {
  custom: {
    50: '#908ae2',
    500: '#545dd4',
    950: '#000000',
  },
}
SCSS
$custom: #545dd4;
$custom-light: #908ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd4",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 235.781,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.18046,
    "h": 275.3
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#545DD4
secondary
#DBD8A8
accent
#D845E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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