#545AE5#545AE5

#545AE5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.6% C 0.206 H 275.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#545AE5
RGBrgb(84, 90, 229)
HSLhsl(238, 74%, 61%)
HSVhsv(238, 63%, 90%)
CMYKcmyk(63.3%, 60.7%, 0%, 10.2%)
CIE-LABlab(45.43, 39.63, -71.38)
CIE-LCHlch(45.43, 81.64, 299.04°)
OKLaboklab(54.56% 0.019 -0.2056)
OKLCHoklch(54.56% 0.206 275.3)
XYZxyz(21.4505, 14.8525, 75.8500)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE5 #E5DF54
analogous
#54A3E5 #545AE5 #9754E5
triadic
#545AE5 #E5545A #5AE554
tetradic
#545AE5 #E554A3 #E5DF54 #54E597
square
#545AE5 #E554A3 #E5DF54 #54E597
split-complementary
#545AE5 #E59754 #A3E554
monochromatic
#191FA5 #2129DB #545AE5 #898DED #BEC1F5

Accessibility & contrast

On white

5.29
#545AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#545AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE5#FFFFFF#000000##FFFFFF
##545AE51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ae5;
/* rgb */ color: rgb(84, 90, 229);
/* oklch */ color: oklch(54.6% 0.206 275.3);
Tailwind
colors: {
  custom: {
    50: '#9389ee',
    500: '#545ae5',
    950: '#000000',
  },
}
SCSS
$custom: #545ae5;
$custom-light: #9389ee;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae5",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 237.517,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.20647,
    "h": 275.3
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#545AE5
secondary
#E6E3AF
accent
#CE10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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