#545EB7#545EB7

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

Color values

HEX#545EB7
RGBrgb(84, 94, 183)
HSLhsl(234, 41%, 52%)
HSVhsv(234, 54%, 72%)
CMYKcmyk(54.1%, 48.6%, 0%, 28.2%)
CIE-LABlab(43.22, 21.97, -48.51)
CIE-LCHlch(43.22, 53.25, 294.36°)
OKLaboklab(51.9% 0.0136 -0.1383)
OKLCHoklch(51.9% 0.139 275.6)
XYZxyz(16.2034, 13.3080, 46.5054)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB7 #B7AD54
analogous
#5490B7 #545EB7 #7B54B7
triadic
#545EB7 #B7545E #5EB754
tetradic
#545EB7 #B75490 #B7AD54 #54B77B
square
#545EB7 #B75490 #B7AD54 #54B77B
split-complementary
#545EB7 #B77B54 #90B754
monochromatic
#2B3166 #3D4591 #545EB7 #7F87C9 #AAAFDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545EB7#FFFFFF#000000##FFFFFF
##545EB71.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)
#346ABA
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#247282
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545eb7;
/* rgb */ color: rgb(84, 94, 183);
/* oklch */ color: oklch(51.9% 0.139 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b8bcd',
    500: '#545eb7',
    950: '#000000',
  },
}
SCSS
$custom: #545eb7;
$custom-light: #8b8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb7",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 233.939,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.13897,
    "h": 275.6
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#545EB7
secondary
#C9C59E
accent
#C457D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #545EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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