#545EA2#545EA2

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

Color values

HEX#545EA2
RGBrgb(84, 94, 162)
HSLhsl(232, 32%, 48%)
HSVhsv(232, 48%, 64%)
CMYKcmyk(48.1%, 42%, 0%, 36.5%)
CIE-LABlab(42.00, 15.19, -38.10)
CIE-LCHlch(42.00, 41.01, 291.74°)
OKLaboklab(50.57% 0.0104 -0.1078)
OKLCHoklch(50.57% 0.108 275.5)
XYZxyz(14.1784, 12.4981, 35.8407)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EA2 #A29854
analogous
#5485A2 #545EA2 #7154A2
triadic
#545EA2 #A2545E #5EA254
tetradic
#545EA2 #A25485 #A29854 #54A271
square
#545EA2 #A25485 #A29854 #54A271
split-complementary
#545EA2 #A27154 #85A254
monochromatic
#2A2F51 #3F477A #545EA2 #7982BA #A2A8CF

Accessibility & contrast

On white

6.00
#545EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#545EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EA2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EA2#FFFFFF#000000##FFFFFF
##545EA21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A5
Deuteranopia (green-blind)
#3D60A0
Tritanopia (blue-blind)
#376C78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ea2;
/* rgb */ color: rgb(84, 94, 162);
/* oklch */ color: oklch(50.6% 0.108 275.5);
Tailwind
colors: {
  custom: {
    50: '#898bbe',
    500: '#545ea2',
    950: '#000000',
  },
}
SCSS
$custom: #545ea2;
$custom-light: #898bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#545ea2",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 232.308,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.10827,
    "h": 275.5
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#545EA2
secondary
#BCB796
accent
#BB60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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