#545ED3#545ED3

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

Color values

HEX#545ED3
RGBrgb(84, 94, 211)
HSLhsl(235, 59%, 58%)
HSVhsv(235, 60%, 83%)
CMYKcmyk(60.2%, 55.5%, 0%, 17.3%)
CIE-LABlab(45.07, 31.22, -61.72)
CIE-LCHlch(45.07, 69.17, 296.83°)
OKLaboklab(53.87% 0.0156 -0.1772)
OKLCHoklch(53.87% 0.178 275)
XYZxyz(19.4129, 14.5919, 63.4089)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ED3 #D3C954
analogous
#549DD3 #545ED3 #8A54D3
triadic
#545ED3 #D3545E #5ED354
tetradic
#545ED3 #D3549D #D3C954 #54D38A
square
#545ED3 #D3549D #D3C954 #54D38A
split-complementary
#545ED3 #D38A54 #9DD354
monochromatic
#232B89 #303BBA #545ED3 #858CE0 #B5BAEC

Accessibility & contrast

On white

5.36
#545ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#545ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ED3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ED3#FFFFFF#000000##FFFFFF
##545ED31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ed3;
/* rgb */ color: rgb(84, 94, 211);
/* oklch */ color: oklch(53.9% 0.178 275.0);
Tailwind
colors: {
  custom: {
    50: '#908be1',
    500: '#545ed3',
    950: '#000000',
  },
}
SCSS
$custom: #545ed3;
$custom-light: #908be1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ed3",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 235.276,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.17786,
    "h": 275
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#545ED3
secondary
#DBD7A8
accent
#D646E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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