#545EAA#545EAA

#545EAA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.120 H 275.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#545EAA
RGBrgb(84, 94, 170)
HSLhsl(233, 34%, 50%)
HSVhsv(233, 51%, 67%)
CMYKcmyk(50.6%, 44.7%, 0%, 33.3%)
CIE-LABlab(42.45, 17.74, -42.12)
CIE-LCHlch(42.45, 45.70, 292.85°)
OKLaboklab(51.06% 0.0118 -0.1195)
OKLCHoklch(51.06% 0.12 275.6)
XYZxyz(14.9123, 12.7916, 39.7057)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EAA #AAA054
analogous
#5489AA #545EAA #7554AA
triadic
#545EAA #AA545E #5EAA54
tetradic
#545EAA #AA5489 #AAA054 #54AA75
square
#545EAA #AA5489 #AAA054 #54AA75
split-complementary
#545EAA #AA7554 #89AA54
monochromatic
#2C3158 #404781 #545EAA #7D84BF #A6ABD3

Accessibility & contrast

On white

5.90
#545EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#545EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EAA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EAA#FFFFFF#000000##FFFFFF
##545EAA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#316E7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545eaa;
/* rgb */ color: rgb(84, 94, 170);
/* oklch */ color: oklch(51.1% 0.120 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a8bc4',
    500: '#545eaa',
    950: '#000000',
  },
}
SCSS
$custom: #545eaa;
$custom-light: #8a8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#545eaa",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 233.023,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.12011,
    "h": 275.6
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#545EAA
secondary
#C0BC99
accent
#BD5ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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