#545EB6#545EB6

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

Color values

HEX#545EB6
RGBrgb(84, 94, 182)
HSLhsl(234, 40%, 52%)
HSVhsv(234, 54%, 71%)
CMYKcmyk(53.8%, 48.4%, 0%, 28.6%)
CIE-LABlab(43.16, 21.64, -48.02)
CIE-LCHlch(43.16, 52.67, 294.26°)
OKLaboklab(51.83% 0.0135 -0.1369)
OKLCHoklch(51.83% 0.138 275.6)
XYZxyz(16.0997, 13.2666, 45.9592)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB6 #B6AC54
analogous
#548FB6 #545EB6 #7B54B6
triadic
#545EB6 #B6545E #5EB654
tetradic
#545EB6 #B6548F #B6AC54 #54B67B
square
#545EB6 #B6548F #B6AC54 #54B67B
split-complementary
#545EB6 #B67B54 #8FB654
monochromatic
#2B3165 #3D4690 #545EB6 #7F86C8 #AAAFDB

Accessibility & contrast

On white

5.75
#545EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#545EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EB6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EB6#FFFFFF#000000##FFFFFF
##545EB61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB9
Deuteranopia (green-blind)
#2962B4
Tritanopia (blue-blind)
#267181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545eb6;
/* rgb */ color: rgb(84, 94, 182);
/* oklch */ color: oklch(51.8% 0.138 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b8bcc',
    500: '#545eb6',
    950: '#000000',
  },
}
SCSS
$custom: #545eb6;
$custom-light: #8b8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb6",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 233.878,
    "s": 40.164,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.13754,
    "h": 275.6
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#545EB6
secondary
#C8C49E
accent
#C458D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #545EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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