#545EB3#545EB3

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

Color values

HEX#545EB3
RGBrgb(84, 94, 179)
HSLhsl(234, 38%, 52%)
HSVhsv(234, 53%, 70%)
CMYKcmyk(53.1%, 47.5%, 0%, 29.8%)
CIE-LABlab(42.98, 20.66, -46.56)
CIE-LCHlch(42.98, 50.94, 293.93°)
OKLaboklab(51.63% 0.0131 -0.1326)
OKLCHoklch(51.63% 0.133 275.7)
XYZxyz(15.7930, 13.1439, 44.3439)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB3 #B3A954
analogous
#548EB3 #545EB3 #7A54B3
triadic
#545EB3 #B3545E #5EB354
tetradic
#545EB3 #B3548E #B3A954 #54B37A
square
#545EB3 #B3548E #B3A954 #54B37A
split-complementary
#545EB3 #B37A54 #8EB354
monochromatic
#2B3161 #3E468C #545EB3 #7E86C6 #A9AED9

Accessibility & contrast

On white

5.79
#545EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#545EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EB3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EB3#FFFFFF#000000##FFFFFF
##545EB31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#2D62B1
Tritanopia (blue-blind)
#297180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545eb3;
/* rgb */ color: rgb(84, 94, 179);
/* oklch */ color: oklch(51.6% 0.133 275.7);
Tailwind
colors: {
  custom: {
    50: '#8b8bca',
    500: '#545eb3',
    950: '#000000',
  },
}
SCSS
$custom: #545eb3;
$custom-light: #8b8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb3",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 233.684,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.13322,
    "h": 275.7
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#545EB3
secondary
#C6C29D
accent
#C259CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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