#545AE1#545AE1

#545AE1 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.2% C 0.201 H 275.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#545AE1
RGBrgb(84, 90, 225)
HSLhsl(237, 70%, 61%)
HSVhsv(237, 63%, 88%)
CMYKcmyk(62.7%, 60%, 0%, 11.8%)
CIE-LABlab(45.13, 38.31, -69.61)
CIE-LCHlch(45.13, 79.46, 298.83°)
OKLaboklab(54.24% 0.0192 -0.2004)
OKLCHoklch(54.24% 0.201 275.5)
XYZxyz(20.8985, 14.6317, 72.9425)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE1 #E1DB54
analogous
#54A0E1 #545AE1 #9454E1
triadic
#545AE1 #E1545A #5AE154
tetradic
#545AE1 #E154A0 #E1DB54 #54E194
square
#545AE1 #E154A0 #E1DB54 #54E194
split-complementary
#545AE1 #E19454 #A0E154
monochromatic
#1C219F #252CD3 #545AE1 #888CEA #BCBEF3

Accessibility & contrast

On white

5.35
#545AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#545AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE1#FFFFFF#000000##FFFFFF
##545AE11.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ae1;
/* rgb */ color: rgb(84, 90, 225);
/* oklch */ color: oklch(54.2% 0.201 275.5);
Tailwind
colors: {
  custom: {
    50: '#9289eb',
    500: '#545ae1',
    950: '#000000',
  },
}
SCSS
$custom: #545ae1;
$custom-light: #9289eb;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae1",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 237.447,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.20131,
    "h": 275.5
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#545AE1
secondary
#E3E1AE
accent
#CA13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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