#545DEA#545DEA

#545DEA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.5% C 0.209 H 274.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#545DEA
RGBrgb(84, 93, 234)
HSLhsl(236, 78%, 62%)
HSVhsv(236, 64%, 92%)
CMYKcmyk(64.1%, 60.3%, 0%, 8.2%)
CIE-LABlab(46.51, 39.46, -72.44)
CIE-LCHlch(46.51, 82.49, 298.58°)
OKLaboklab(55.48% 0.0164 -0.2087)
OKLCHoklch(55.48% 0.209 274.5)
XYZxyz(22.4169, 15.6521, 79.6658)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DEA #EAE154
analogous
#54A8EA #545DEA #9654EA
triadic
#545DEA #EA545D #5DEA54
tetradic
#545DEA #EA54A8 #EAE154 #54EA96
square
#545DEA #EA54A8 #EAE154 #54EA96
split-complementary
#545DEA #EA9654 #A8EA54
monochromatic
#151FAE #1D29E3 #545DEA #8B91F1 #C1C4F7

Accessibility & contrast

On white

5.08
#545DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#545DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DEA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DEA#FFFFFF#000000##FFFFFF
##545DEA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #545dea;
/* rgb */ color: rgb(84, 93, 234);
/* oklch */ color: oklch(55.5% 0.209 274.5);
Tailwind
colors: {
  custom: {
    50: '#948bf2',
    500: '#545dea',
    950: '#000000',
  },
}
SCSS
$custom: #545dea;
$custom-light: #948bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#545dea",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 236.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.20932,
    "h": 274.5
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#545DEA
secondary
#E8E5B2
accent
#CE0BDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #545DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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