#545AB3#545AB3

#545AB3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.139 H 277.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#545AB3
RGBrgb(84, 90, 179)
HSLhsl(236, 38%, 52%)
HSVhsv(236, 53%, 70%)
CMYKcmyk(53.1%, 49.7%, 0%, 29.8%)
CIE-LABlab(41.92, 23.18, -48.25)
CIE-LCHlch(41.92, 53.53, 295.66°)
OKLaboklab(50.83% 0.0177 -0.1376)
OKLCHoklch(50.83% 0.139 277.4)
XYZxyz(15.4464, 12.4509, 44.2284)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB3 #B3AD54
analogous
#548AB3 #545AB3 #7E54B3
triadic
#545AB3 #B3545A #5AB354
tetradic
#545AB3 #B3548A #B3AD54 #54B37E
square
#545AB3 #B3548A #B3AD54 #54B37E
split-complementary
#545AB3 #B37E54 #8AB354
monochromatic
#2B2F61 #3E438C #545AB3 #7E83C6 #A9ACD9

Accessibility & contrast

On white

6.02
#545AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545AB3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB3#FFFFFF#000000##FFFFFF
##545AB31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#2A6E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ab3;
/* rgb */ color: rgb(84, 90, 179);
/* oklch */ color: oklch(50.8% 0.139 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b88ca',
    500: '#545ab3',
    950: '#000000',
  },
}
SCSS
$custom: #545ab3;
$custom-light: #8b88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab3",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 236.211,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50835,
    "c": 0.13871,
    "h": 277.4
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#545AB3
secondary
#C6C49D
accent
#C759CE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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