#545EC3#545EC3

#545EC3 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.156 H 275.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#545EC3
RGBrgb(84, 94, 195)
HSLhsl(235, 48%, 55%)
HSVhsv(235, 57%, 76%)
CMYKcmyk(56.9%, 51.8%, 0%, 23.5%)
CIE-LABlab(43.99, 25.92, -54.26)
CIE-LCHlch(43.99, 60.13, 295.53°)
OKLaboklab(52.72% 0.0148 -0.1552)
OKLCHoklch(52.72% 0.156 275.4)
XYZxyz(17.5060, 13.8291, 53.3660)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EC3 #C3B954
analogous
#5495C3 #545EC3 #8254C3
triadic
#545EC3 #C3545E #5EC354
tetradic
#545EC3 #C35495 #C3B954 #54C382
square
#545EC3 #C35495 #C3B954 #54C382
split-complementary
#545EC3 #C38254 #95C354
monochromatic
#292F74 #3942A1 #545EC3 #8189D3 #AFB3E3

Accessibility & contrast

On white

5.58
#545EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#545EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EC3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EC3#FFFFFF#000000##FFFFFF
##545EC31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266DC7
Deuteranopia (green-blind)
#0E63C1
Tritanopia (blue-blind)
#107587
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ec3;
/* rgb */ color: rgb(84, 94, 195);
/* oklch */ color: oklch(52.7% 0.156 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d8bd6',
    500: '#545ec3',
    950: '#000000',
  },
}
SCSS
$custom: #545ec3;
$custom-light: #8d8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#545ec3",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 234.595,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.15591,
    "h": 275.4
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#545EC3
secondary
#D1CDA2
accent
#CB50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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