#545DBA#545DBA

#545DBA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.145 H 276.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#545DBA
RGBrgb(84, 93, 186)
HSLhsl(235, 43%, 53%)
HSVhsv(235, 55%, 73%)
CMYKcmyk(54.8%, 50%, 0%, 27.1%)
CIE-LABlab(43.15, 23.58, -50.38)
CIE-LCHlch(43.15, 55.63, 295.08°)
OKLaboklab(51.9% 0.0151 -0.1438)
OKLCHoklch(51.9% 0.145 276)
XYZxyz(16.4306, 13.2576, 48.1380)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DBA #BAB154
analogous
#5490BA #545DBA #7E54BA
triadic
#545DBA #BA545D #5DBA54
tetradic
#545DBA #BA5490 #BAB154 #54BA7E
square
#545DBA #BA5490 #BAB154 #54BA7E
split-complementary
#545DBA #BA7E54 #90BA54
monochromatic
#2A3069 #3C4495 #545DBA #8086CC #ABB0DD

Accessibility & contrast

On white

5.75
#545DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545DBA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DBA#FFFFFF#000000##FFFFFF
##545DBA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#217283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545dba;
/* rgb */ color: rgb(84, 93, 186);
/* oklch */ color: oklch(51.9% 0.145 276.0);
Tailwind
colors: {
  custom: {
    50: '#8c8acf',
    500: '#545dba',
    950: '#000000',
  },
}
SCSS
$custom: #545dba;
$custom-light: #8c8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#545dba",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 234.706,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.1446,
    "h": 276
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#545DBA
secondary
#CBC79F
accent
#C756D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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