#545CA1#545CA1

#545CA1 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.1% C 0.110 H 276.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#545CA1
RGBrgb(84, 92, 161)
HSLhsl(234, 31%, 48%)
HSVhsv(234, 48%, 63%)
CMYKcmyk(47.8%, 42.9%, 0%, 36.9%)
CIE-LABlab(41.39, 16.14, -38.46)
CIE-LCHlch(41.39, 41.71, 292.76°)
OKLaboklab(50.09% 0.0128 -0.1088)
OKLCHoklch(50.09% 0.11 276.7)
XYZxyz(13.9143, 12.1116, 35.3159)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA1 #A19954
analogous
#5482A1 #545CA1 #7254A1
triadic
#545CA1 #A1545C #5CA154
tetradic
#545CA1 #A15482 #A19954 #54A172
square
#545CA1 #A15482 #A19954 #54A172
split-complementary
#545CA1 #A17254 #82A154
monochromatic
#2A2E51 #3F4579 #545CA1 #7980B9 #A1A6CE

Accessibility & contrast

On white

6.14
#545CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#545CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA1#FFFFFF#000000##FFFFFF
##545CA11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A4
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#386A76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ca1;
/* rgb */ color: rgb(84, 92, 161);
/* oklch */ color: oklch(50.1% 0.110 276.7);
Tailwind
colors: {
  custom: {
    50: '#898abd',
    500: '#545ca1',
    950: '#000000',
  },
}
SCSS
$custom: #545ca1;
$custom-light: #898abd;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca1",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 233.766,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.10959,
    "h": 276.7
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#545CA1
secondary
#BBB795
accent
#BD60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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