#545EA1#545EA1

#545EA1 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.5% C 0.107 H 275.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#545EA1
RGBrgb(84, 94, 161)
HSLhsl(232, 31%, 48%)
HSVhsv(232, 48%, 63%)
CMYKcmyk(47.8%, 41.6%, 0%, 36.9%)
CIE-LABlab(41.94, 14.87, -37.59)
CIE-LCHlch(41.94, 40.42, 291.58°)
OKLaboklab(50.51% 0.0102 -0.1063)
OKLCHoklch(50.51% 0.107 275.5)
XYZxyz(14.0899, 12.4627, 35.3744)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EA1 #A19754
analogous
#5484A1 #545EA1 #7054A1
triadic
#545EA1 #A1545E #5EA154
tetradic
#545EA1 #A15484 #A19754 #54A170
square
#545EA1 #A15484 #A19754 #54A170
split-complementary
#545EA1 #A17054 #84A154
monochromatic
#2A2F51 #3F4779 #545EA1 #7981B9 #A1A7CE

Accessibility & contrast

On white

6.01
#545EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#545EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EA1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EA1#FFFFFF#000000##FFFFFF
##545EA11.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#386C77
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ea1;
/* rgb */ color: rgb(84, 94, 161);
/* oklch */ color: oklch(50.5% 0.107 275.5);
Tailwind
colors: {
  custom: {
    50: '#888bbd',
    500: '#545ea1',
    950: '#000000',
  },
}
SCSS
$custom: #545ea1;
$custom-light: #888bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#545ea1",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 232.208,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.10677,
    "h": 275.5
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#545EA1
secondary
#BBB795
accent
#BA60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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