#545ED2#545ED2

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

Color values

HEX#545ED2
RGBrgb(84, 94, 210)
HSLhsl(235, 58%, 58%)
HSVhsv(235, 60%, 82%)
CMYKcmyk(60%, 55.2%, 0%, 17.6%)
CIE-LABlab(45.00, 30.89, -61.26)
CIE-LCHlch(45.00, 68.61, 296.76°)
OKLaboklab(53.8% 0.0156 -0.1758)
OKLCHoklch(53.8% 0.177 275.1)
XYZxyz(19.2879, 14.5419, 62.7507)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED2 #D2C854
analogous
#549DD2 #545ED2 #8954D2
triadic
#545ED2 #D2545E #5ED254
tetradic
#545ED2 #D2549D #D2C854 #54D289
square
#545ED2 #D2549D #D2C854 #54D289
split-complementary
#545ED2 #D28954 #9DD254
monochromatic
#242C88 #313BB8 #545ED2 #848CDF #B5B9EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545ED2#FFFFFF#000000##FFFFFF
##545ED21.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)
#0070D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545ed2;
/* rgb */ color: rgb(84, 94, 210);
/* oklch */ color: oklch(53.8% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#908be1',
    500: '#545ed2',
    950: '#000000',
  },
}
SCSS
$custom: #545ed2;
$custom-light: #908be1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed2",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 235.238,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.538,
    "c": 0.1765,
    "h": 275.1
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#545ED2
secondary
#DAD6A8
accent
#D546E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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