#545DC2#545DC2

#545DC2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.156 H 275.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#545DC2
RGBrgb(84, 93, 194)
HSLhsl(235, 47%, 55%)
HSVhsv(235, 57%, 76%)
CMYKcmyk(56.7%, 52.1%, 0%, 23.9%)
CIE-LABlab(43.66, 26.21, -54.20)
CIE-LCHlch(43.66, 60.21, 295.81°)
OKLaboklab(52.46% 0.0158 -0.155)
OKLCHoklch(52.46% 0.156 275.8)
XYZxyz(17.3050, 13.6073, 52.7431)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC2 #C2B954
analogous
#5494C2 #545DC2 #8254C2
triadic
#545DC2 #C2545D #5DC254
tetradic
#545DC2 #C25494 #C2B954 #54C282
square
#545DC2 #C25494 #C2B954 #54C282
split-complementary
#545DC2 #C28254 #94C254
monochromatic
#292F73 #3941A0 #545DC2 #8188D2 #AEB2E2

Accessibility & contrast

On white

5.64
#545DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#545DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC2#FFFFFF#000000##FFFFFF
##545DC21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#0C63C0
Tritanopia (blue-blind)
#137486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545dc2;
/* rgb */ color: rgb(84, 93, 194);
/* oklch */ color: oklch(52.5% 0.156 275.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ad5',
    500: '#545dc2',
    950: '#000000',
  },
}
SCSS
$custom: #545dc2;
$custom-light: #8d8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc2",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 235.091,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.15585,
    "h": 275.8
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#545DC2
secondary
#D0CCA2
accent
#CC51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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