#545DB9#545DB9

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

Color values

HEX#545DB9
RGBrgb(84, 93, 185)
HSLhsl(235, 42%, 53%)
HSVhsv(235, 55%, 73%)
CMYKcmyk(54.6%, 49.7%, 0%, 27.5%)
CIE-LABlab(43.09, 23.25, -49.90)
CIE-LCHlch(43.09, 55.05, 294.99°)
OKLaboklab(51.83% 0.015 -0.1424)
OKLCHoklch(51.83% 0.143 276)
XYZxyz(16.3247, 13.2152, 47.5801)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB9 #B9B054
analogous
#5490B9 #545DB9 #7D54B9
triadic
#545DB9 #B9545D #5DB954
tetradic
#545DB9 #B95490 #B9B054 #54B97D
square
#545DB9 #B95490 #B9B054 #54B97D
split-complementary
#545DB9 #B97D54 #90B954
monochromatic
#2B3068 #3C4493 #545DB9 #7F86CB #ABAFDD

Accessibility & contrast

On white

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

On black

3.64
#545DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##545DB9#FFFFFF#000000##FFFFFF
##545DB91.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306ABC
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#227182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545db9;
/* rgb */ color: rgb(84, 93, 185);
/* oklch */ color: oklch(51.8% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#8c8acf',
    500: '#545db9',
    950: '#000000',
  },
}
SCSS
$custom: #545db9;
$custom-light: #8c8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#545db9",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 234.653,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.14317,
    "h": 276
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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