#545CB3#545CB3

#545CB3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.136 H 276.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#545CB3
RGBrgb(84, 92, 179)
HSLhsl(235, 38%, 52%)
HSVhsv(235, 53%, 70%)
CMYKcmyk(53.1%, 48.6%, 0%, 29.8%)
CIE-LABlab(42.45, 21.92, -47.41)
CIE-LCHlch(42.45, 52.23, 294.82°)
OKLaboklab(51.23% 0.0155 -0.1351)
OKLCHoklch(51.23% 0.136 276.5)
XYZxyz(15.6174, 12.7928, 44.2854)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB3 #B3AB54
analogous
#548CB3 #545CB3 #7C54B3
triadic
#545CB3 #B3545C #5CB354
tetradic
#545CB3 #B3548C #B3AB54 #54B37C
square
#545CB3 #B3548C #B3AB54 #54B37C
split-complementary
#545CB3 #B37C54 #8CB354
monochromatic
#2B3061 #3E458C #545CB3 #7E84C6 #A9ADD9

Accessibility & contrast

On white

5.90
#545CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#545CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CB3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CB3#FFFFFF#000000##FFFFFF
##545CB31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B6
Deuteranopia (green-blind)
#2960B1
Tritanopia (blue-blind)
#296F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545cb3;
/* rgb */ color: rgb(84, 92, 179);
/* oklch */ color: oklch(51.2% 0.136 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b8aca',
    500: '#545cb3',
    950: '#000000',
  },
}
SCSS
$custom: #545cb3;
$custom-light: #8b8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb3",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 234.947,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.13596,
    "h": 276.5
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#545CB3
secondary
#C6C39D
accent
#C559CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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