#545EB2#545EB2

#545EB2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.132 H 275.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#545EB2
RGBrgb(84, 94, 178)
HSLhsl(234, 38%, 51%)
HSVhsv(234, 53%, 70%)
CMYKcmyk(52.8%, 47.2%, 0%, 30.2%)
CIE-LABlab(42.92, 20.33, -46.07)
CIE-LCHlch(42.92, 50.36, 293.82°)
OKLaboklab(51.57% 0.013 -0.1311)
OKLCHoklch(51.57% 0.132 275.7)
XYZxyz(15.6922, 13.1036, 43.8132)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB2 #B2A854
analogous
#548DB2 #545EB2 #7954B2
triadic
#545EB2 #B2545E #5EB254
tetradic
#545EB2 #B2548D #B2A854 #54B279
square
#545EB2 #B2548D #B2A854 #54B279
split-complementary
#545EB2 #B27954 #8DB254
monochromatic
#2B3160 #3E468A #545EB2 #7E86C5 #A8ADD8

Accessibility & contrast

On white

5.80
#545EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#545EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EB2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EB2#FFFFFF#000000##FFFFFF
##545EB21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#2E62B0
Tritanopia (blue-blind)
#2A707F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545eb2;
/* rgb */ color: rgb(84, 94, 178);
/* oklch */ color: oklch(51.6% 0.132 275.7);
Tailwind
colors: {
  custom: {
    50: '#8b8bc9',
    500: '#545eb2',
    950: '#000000',
  },
}
SCSS
$custom: #545eb2;
$custom-light: #8b8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb2",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 233.617,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.13177,
    "h": 275.7
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#545EB2
secondary
#C6C19C
accent
#C25ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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