#545AE6#545AE6

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

Color values

HEX#545AE6
RGBrgb(84, 90, 230)
HSLhsl(238, 74%, 62%)
HSVhsv(238, 63%, 90%)
CMYKcmyk(63.5%, 60.9%, 0%, 9.8%)
CIE-LABlab(45.51, 39.96, -71.82)
CIE-LCHlch(45.51, 82.18, 299.09°)
OKLaboklab(54.64% 0.019 -0.2069)
OKLCHoklch(54.64% 0.208 275.2)
XYZxyz(21.5906, 14.9085, 76.5874)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE6 #E6E054
analogous
#54A3E6 #545AE6 #9754E6
triadic
#545AE6 #E6545A #5AE654
tetradic
#545AE6 #E654A3 #E6E054 #54E697
square
#545AE6 #E654A3 #E6E054 #54E697
split-complementary
#545AE6 #E69754 #A3E654
monochromatic
#181EA7 #2028DD #545AE6 #898EEE #BFC1F6

Accessibility & contrast

On white

5.27
#545AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#545AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE6#FFFFFF#000000##FFFFFF
##545AE61.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545ae6;
/* rgb */ color: rgb(84, 90, 230);
/* oklch */ color: oklch(54.6% 0.208 275.2);
Tailwind
colors: {
  custom: {
    50: '#9389ef',
    500: '#545ae6',
    950: '#000000',
  },
}
SCSS
$custom: #545ae6;
$custom-light: #9389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae6",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 237.534,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.20775,
    "h": 275.2
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#545AE6
secondary
#E6E4B0
accent
#CE0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #545AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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