#545AE4#545AE4

#545AE4 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.5% C 0.205 H 275.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#545AE4
RGBrgb(84, 90, 228)
HSLhsl(238, 73%, 61%)
HSVhsv(238, 63%, 89%)
CMYKcmyk(63.2%, 60.5%, 0%, 10.6%)
CIE-LABlab(45.35, 39.30, -70.94)
CIE-LCHlch(45.35, 81.10, 298.99°)
OKLaboklab(54.48% 0.0191 -0.2043)
OKLCHoklch(54.48% 0.205 275.3)
XYZxyz(21.3113, 14.7968, 75.1167)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE4 #E4DE54
analogous
#54A2E4 #545AE4 #9654E4
triadic
#545AE4 #E4545A #5AE454
tetradic
#545AE4 #E454A2 #E4DE54 #54E496
square
#545AE4 #E454A2 #E4DE54 #54E496
split-complementary
#545AE4 #E49654 #A2E454
monochromatic
#1A20A4 #222AD9 #545AE4 #898DEC #BEC0F5

Accessibility & contrast

On white

5.30
#545AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#545AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE4#FFFFFF#000000##FFFFFF
##545AE41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ae4;
/* rgb */ color: rgb(84, 90, 228);
/* oklch */ color: oklch(54.5% 0.205 275.3);
Tailwind
colors: {
  custom: {
    50: '#9389ed',
    500: '#545ae4',
    950: '#000000',
  },
}
SCSS
$custom: #545ae4;
$custom-light: #9389ed;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae4",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 237.5,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.20518,
    "h": 275.3
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#545AE4
secondary
#E5E3AF
accent
#CD11D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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