#545EBA#545EBA

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

Color values

HEX#545EBA
RGBrgb(84, 94, 186)
HSLhsl(234, 43%, 53%)
HSVhsv(234, 55%, 73%)
CMYKcmyk(54.8%, 49.5%, 0%, 27.1%)
CIE-LABlab(43.41, 22.95, -49.96)
CIE-LCHlch(43.41, 54.98, 294.67°)
OKLaboklab(52.1% 0.014 -0.1426)
OKLCHoklch(52.1% 0.143 275.6)
XYZxyz(16.5189, 13.4343, 48.1675)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EBA #BAB054
analogous
#5491BA #545EBA #7D54BA
triadic
#545EBA #BA545E #5EBA54
tetradic
#545EBA #BA5491 #BAB054 #54BA7D
square
#545EBA #BA5491 #BAB054 #54BA7D
split-complementary
#545EBA #BA7D54 #91BA54
monochromatic
#2A3169 #3C4595 #545EBA #8087CC #ABB0DD

Accessibility & contrast

On white

5.70
#545EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#545EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EBA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EBA#FFFFFF#000000##FFFFFF
##545EBA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#217283
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545eba;
/* rgb */ color: rgb(84, 94, 186);
/* oklch */ color: oklch(52.1% 0.143 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bcf',
    500: '#545eba',
    950: '#000000',
  },
}
SCSS
$custom: #545eba;
$custom-light: #8c8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#545eba",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 234.118,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.14324,
    "h": 275.6
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#545EBA
secondary
#CBC79F
accent
#C656D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #545EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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