#545EB9#545EB9

#545EB9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.142 H 275.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#545EB9
RGBrgb(84, 94, 185)
HSLhsl(234, 42%, 53%)
HSVhsv(234, 55%, 73%)
CMYKcmyk(54.6%, 49.2%, 0%, 27.5%)
CIE-LABlab(43.35, 22.62, -49.48)
CIE-LCHlch(43.35, 54.40, 294.57°)
OKLaboklab(52.03% 0.0139 -0.1411)
OKLCHoklch(52.03% 0.142 275.6)
XYZxyz(16.4130, 13.3919, 47.6095)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB9 #B9AF54
analogous
#5491B9 #545EB9 #7C54B9
triadic
#545EB9 #B9545E #5EB954
tetradic
#545EB9 #B95491 #B9AF54 #54B97C
square
#545EB9 #B95491 #B9AF54 #54B97C
split-complementary
#545EB9 #B97C54 #91B954
monochromatic
#2B3168 #3C4593 #545EB9 #7F87CB #ABB0DD

Accessibility & contrast

On white

5.71
#545EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#545EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EB9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EB9#FFFFFF#000000##FFFFFF
##545EB91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBC
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#227283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545eb9;
/* rgb */ color: rgb(84, 94, 185);
/* oklch */ color: oklch(52.0% 0.142 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bce',
    500: '#545eb9',
    950: '#000000',
  },
}
SCSS
$custom: #545eb9;
$custom-light: #8c8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb9",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 234.059,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.14182,
    "h": 275.6
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#545EB9
secondary
#CAC69F
accent
#C556D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #545EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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