#545CE6#545CE6

#545CE6 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.0% C 0.205 H 274.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#545CE6
RGBrgb(84, 92, 230)
HSLhsl(237, 74%, 62%)
HSVhsv(237, 63%, 90%)
CMYKcmyk(63.5%, 60%, 0%, 9.8%)
CIE-LABlab(45.98, 38.75, -71.06)
CIE-LCHlch(45.98, 80.94, 298.60°)
OKLaboklab(54.98% 0.0174 -0.2046)
OKLCHoklch(54.98% 0.205 274.9)
XYZxyz(21.7615, 15.2504, 76.6444)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE6 #E6DE54
analogous
#54A5E6 #545CE6 #9554E6
triadic
#545CE6 #E6545C #5CE654
tetradic
#545CE6 #E654A5 #E6DE54 #54E695
square
#545CE6 #E654A5 #E6DE54 #54E695
split-complementary
#545CE6 #E69554 #A5E654
monochromatic
#1820A7 #202BDD #545CE6 #898FEE #BFC2F6

Accessibility & contrast

On white

5.18
#545CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#545CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE6#FFFFFF#000000##FFFFFF
##545CE61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545ce6;
/* rgb */ color: rgb(84, 92, 230);
/* oklch */ color: oklch(55.0% 0.205 274.9);
Tailwind
colors: {
  custom: {
    50: '#938aef',
    500: '#545ce6',
    950: '#000000',
  },
}
SCSS
$custom: #545ce6;
$custom-light: #938aef;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce6",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 236.712,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.20537,
    "h": 274.9
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#545CE6
secondary
#E6E3B0
accent
#CC0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #545CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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