#545FB3#545FB3

#545FB3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.132 H 275.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#545FB3
RGBrgb(84, 95, 179)
HSLhsl(233, 38%, 52%)
HSVhsv(233, 53%, 70%)
CMYKcmyk(53.1%, 46.9%, 0%, 29.8%)
CIE-LABlab(43.25, 20.03, -46.13)
CIE-LCHlch(43.25, 50.29, 293.47°)
OKLaboklab(51.84% 0.012 -0.1313)
OKLCHoklch(51.84% 0.132 275.2)
XYZxyz(15.8825, 13.3229, 44.3737)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FB3 #B3A854
analogous
#548FB3 #545FB3 #7954B3
triadic
#545FB3 #B3545F #5FB354
tetradic
#545FB3 #B3548F #B3A854 #54B379
square
#545FB3 #B3548F #B3A854 #54B379
split-complementary
#545FB3 #B37954 #8FB354
monochromatic
#2B3261 #3E478C #545FB3 #7E87C6 #A9AED9

Accessibility & contrast

On white

5.73
#545FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#545FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FB3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FB3#FFFFFF#000000##FFFFFF
##545FB31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#297180
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545fb3;
/* rgb */ color: rgb(84, 95, 179);
/* oklch */ color: oklch(51.8% 0.132 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b8cca',
    500: '#545fb3',
    950: '#000000',
  },
}
SCSS
$custom: #545fb3;
$custom-light: #8b8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#545fb3",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 233.053,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.13185,
    "h": 275.2
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#545FB3
secondary
#C6C19D
accent
#C159CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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