#545EB0#545EB0

#545EB0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.129 H 275.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#545EB0
RGBrgb(84, 94, 176)
HSLhsl(233, 37%, 51%)
HSVhsv(233, 52%, 69%)
CMYKcmyk(52.3%, 46.6%, 0%, 31%)
CIE-LABlab(42.80, 19.68, -45.09)
CIE-LCHlch(42.80, 49.20, 293.59°)
OKLaboklab(51.44% 0.0127 -0.1282)
OKLCHoklch(51.44% 0.129 275.7)
XYZxyz(15.4929, 13.0238, 42.7633)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EB0 #B0A654
analogous
#548CB0 #545EB0 #7854B0
triadic
#545EB0 #B0545E #5EB054
tetradic
#545EB0 #B0548C #B0A654 #54B078
square
#545EB0 #B0548C #B0A654 #54B078
split-complementary
#545EB0 #B07854 #8CB054
monochromatic
#2B315E #3F4788 #545EB0 #7E85C3 #A8ADD7

Accessibility & contrast

On white

5.83
#545EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#545EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EB0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EB0#FFFFFF#000000##FFFFFF
##545EB01.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B3
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#2C707E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545eb0;
/* rgb */ color: rgb(84, 94, 176);
/* oklch */ color: oklch(51.4% 0.129 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a8bc8',
    500: '#545eb0',
    950: '#000000',
  },
}
SCSS
$custom: #545eb0;
$custom-light: #8a8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#545eb0",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 233.478,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.12888,
    "h": 275.7
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#545EB0
secondary
#C4C09C
accent
#C05BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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