#545EB5#545EB5

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

Color values

HEX#545EB5
RGBrgb(84, 94, 181)
HSLhsl(234, 40%, 52%)
HSVhsv(234, 54%, 71%)
CMYKcmyk(53.6%, 48.1%, 0%, 29%)
CIE-LABlab(43.10, 21.31, -47.54)
CIE-LCHlch(43.10, 52.09, 294.15°)
OKLaboklab(51.77% 0.0134 -0.1354)
OKLCHoklch(51.77% 0.136 275.6)
XYZxyz(15.9967, 13.2254, 45.4169)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB5 #B5AB54
analogous
#548FB5 #545EB5 #7A54B5
triadic
#545EB5 #B5545E #5EB554
tetradic
#545EB5 #B5548F #B5AB54 #54B57A
square
#545EB5 #B5548F #B5AB54 #54B57A
split-complementary
#545EB5 #B57A54 #8FB554
monochromatic
#2B3164 #3E468E #545EB5 #7F86C7 #A9AEDA

Accessibility & contrast

On white

5.76
#545EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545EB5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EB5#FFFFFF#000000##FFFFFF
##545EB51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#2A62B3
Tritanopia (blue-blind)
#277181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545eb5;
/* rgb */ color: rgb(84, 94, 181);
/* oklch */ color: oklch(51.8% 0.136 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b8bcc',
    500: '#545eb5',
    950: '#000000',
  },
}
SCSS
$custom: #545eb5;
$custom-light: #8b8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb5",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 233.814,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.1361,
    "h": 275.6
  },
  "luminance": 0.13226
}

Semantic roles & 50–950 ramp

primary
#545EB5
secondary
#C8C39D
accent
#C358CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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