#545FA2#545FA2

#545FA2 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.8% C 0.107 H 274.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#545FA2
RGBrgb(84, 95, 162)
HSLhsl(232, 32%, 48%)
HSVhsv(232, 48%, 64%)
CMYKcmyk(48.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(42.27, 14.56, -37.66)
CIE-LCHlch(42.27, 40.38, 291.13°)
OKLaboklab(50.78% 0.0091 -0.1065)
OKLCHoklch(50.78% 0.107 274.9)
XYZxyz(14.2679, 12.6771, 35.8705)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA2 #A29754
analogous
#5486A2 #545FA2 #7054A2
triadic
#545FA2 #A2545F #5FA254
tetradic
#545FA2 #A25486 #A29754 #54A270
square
#545FA2 #A25486 #A29754 #54A270
split-complementary
#545FA2 #A27054 #86A254
monochromatic
#2A3051 #3F477A #545FA2 #7983BA #A2A8CF

Accessibility & contrast

On white

5.94
#545FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#545FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA2#FFFFFF#000000##FFFFFF
##545FA21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#3E61A0
Tritanopia (blue-blind)
#376D78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545fa2;
/* rgb */ color: rgb(84, 95, 162);
/* oklch */ color: oklch(50.8% 0.107 274.9);
Tailwind
colors: {
  custom: {
    50: '#898cbe',
    500: '#545fa2',
    950: '#000000',
  },
}
SCSS
$custom: #545fa2;
$custom-light: #898cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa2",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 231.538,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.10687,
    "h": 274.9
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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