#545FBD#545FBD

#545FBD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.146 H 275.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#545FBD
RGBrgb(84, 95, 189)
HSLhsl(234, 44%, 54%)
HSVhsv(234, 56%, 74%)
CMYKcmyk(55.6%, 49.7%, 0%, 25.9%)
CIE-LABlab(43.86, 23.31, -50.98)
CIE-LCHlch(43.86, 56.06, 294.57°)
OKLaboklab(52.5% 0.0132 -0.1456)
OKLCHoklch(52.5% 0.146 275.2)
XYZxyz(16.9307, 13.7422, 49.8946)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FBD #BDB254
analogous
#5493BD #545FBD #7D54BD
triadic
#545FBD #BD545F #5FBD54
tetradic
#545FBD #BD5493 #BDB254 #54BD7D
square
#545FBD #BD5493 #BDB254 #54BD7D
split-complementary
#545FBD #BD7D54 #93BD54
monochromatic
#2A316D #3B4599 #545FBD #8088CE #ACB2DF

Accessibility & contrast

On white

5.60
#545FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#545FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FBD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FBD#FFFFFF#000000##FFFFFF
##545FBD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#2163BB
Tritanopia (blue-blind)
#1C7485
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545fbd;
/* rgb */ color: rgb(84, 95, 189);
/* oklch */ color: oklch(52.5% 0.146 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cd1',
    500: '#545fbd',
    950: '#000000',
  },
}
SCSS
$custom: #545fbd;
$custom-light: #8c8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#545fbd",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 233.714,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.525,
    "c": 0.14615,
    "h": 275.2
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#545FBD
secondary
#CDC8A0
accent
#C754D4
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #545FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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