#545EC2#545EC2

#545EC2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.155 H 275.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#545EC2
RGBrgb(84, 94, 194)
HSLhsl(235, 47%, 55%)
HSVhsv(235, 57%, 76%)
CMYKcmyk(56.7%, 51.5%, 0%, 23.9%)
CIE-LABlab(43.92, 25.59, -53.79)
CIE-LCHlch(43.92, 59.56, 295.44°)
OKLaboklab(52.65% 0.0147 -0.1538)
OKLCHoklch(52.65% 0.155 275.5)
XYZxyz(17.3933, 13.7840, 52.7725)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EC2 #C2B854
analogous
#5495C2 #545EC2 #8154C2
triadic
#545EC2 #C2545E #5EC254
tetradic
#545EC2 #C25495 #C2B854 #54C281
square
#545EC2 #C25495 #C2B854 #54C281
split-complementary
#545EC2 #C28154 #95C254
monochromatic
#293073 #3942A0 #545EC2 #8188D2 #AEB3E2

Accessibility & contrast

On white

5.59
#545EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#545EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EC2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EC2#FFFFFF#000000##FFFFFF
##545EC21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#1263C0
Tritanopia (blue-blind)
#127587
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ec2;
/* rgb */ color: rgb(84, 94, 194);
/* oklch */ color: oklch(52.6% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d8bd5',
    500: '#545ec2',
    950: '#000000',
  },
}
SCSS
$custom: #545ec2;
$custom-light: #8d8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#545ec2",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 234.545,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.15452,
    "h": 275.5
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#545EC2
secondary
#D0CCA2
accent
#CB51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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