#545AD2#545AD2

#545AD2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.182 H 276.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#545AD2
RGBrgb(84, 90, 210)
HSLhsl(237, 58%, 58%)
HSVhsv(237, 60%, 82%)
CMYKcmyk(60%, 57.1%, 0%, 17.6%)
CIE-LABlab(44.02, 33.37, -62.86)
CIE-LCHlch(44.02, 71.17, 297.96°)
OKLaboklab(53.07% 0.0194 -0.1805)
OKLCHoklch(53.07% 0.182 276.1)
XYZxyz(18.9414, 13.8488, 62.6352)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AD2 #D2CC54
analogous
#5499D2 #545AD2 #8D54D2
triadic
#545AD2 #D2545A #5AD254
tetradic
#545AD2 #D25499 #D2CC54 #54D28D
square
#545AD2 #D25499 #D2CC54 #54D28D
split-complementary
#545AD2 #D28D54 #99D254
monochromatic
#242988 #3137B8 #545AD2 #8489DF #B5B7EB

Accessibility & contrast

On white

5.57
#545AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#545AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AD2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AD2#FFFFFF#000000##FFFFFF
##545AD21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ad2;
/* rgb */ color: rgb(84, 90, 210);
/* oklch */ color: oklch(53.1% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#9088e1',
    500: '#545ad2',
    950: '#000000',
  },
}
SCSS
$custom: #545ad2;
$custom-light: #9088e1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ad2",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 237.143,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.18159,
    "h": 276.1
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#545AD2
secondary
#DAD8A8
accent
#DA46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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