#545DB2#545DB2

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

Color values

HEX#545DB2
RGBrgb(84, 93, 178)
HSLhsl(234, 38%, 51%)
HSVhsv(234, 53%, 70%)
CMYKcmyk(52.8%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.65, 20.97, -46.50)
CIE-LCHlch(42.65, 51.00, 294.27°)
OKLaboklab(51.37% 0.0142 -0.1324)
OKLCHoklch(51.37% 0.133 276.1)
XYZxyz(15.6038, 12.9269, 43.7838)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB2 #B2A954
analogous
#548CB2 #545DB2 #7A54B2
triadic
#545DB2 #B2545D #5DB254
tetradic
#545DB2 #B2548C #B2A954 #54B27A
square
#545DB2 #B2548C #B2A954 #54B27A
split-complementary
#545DB2 #B27A54 #8CB254
monochromatic
#2B3060 #3E468A #545DB2 #7E85C5 #A8ADD8

Accessibility & contrast

On white

5.86
#545DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#545DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB2#FFFFFF#000000##FFFFFF
##545DB21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#2A707F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db2;
/* rgb */ color: rgb(84, 93, 178);
/* oklch */ color: oklch(51.4% 0.133 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ac9',
    500: '#545db2',
    950: '#000000',
  },
}
SCSS
$custom: #545db2;
$custom-light: #8b8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#545db2",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 234.255,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.13315,
    "h": 276.1
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#545DB2
secondary
#C6C29C
accent
#C35ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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