#545DD5#545DD5

#545DD5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.182 H 275.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#545DD5
RGBrgb(84, 93, 213)
HSLhsl(236, 61%, 58%)
HSVhsv(236, 61%, 84%)
CMYKcmyk(60.6%, 56.3%, 0%, 16.5%)
CIE-LABlab(44.96, 32.51, -63.04)
CIE-LCHlch(44.96, 70.93, 297.28°)
OKLaboklab(53.84% 0.0166 -0.181)
OKLCHoklch(53.84% 0.182 275.2)
XYZxyz(19.5768, 14.5161, 64.7081)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD5 #D5CC54
analogous
#549DD5 #545DD5 #8B54D5
triadic
#545DD5 #D5545D #5DD554
tetradic
#545DD5 #D5549D #D5CC54 #54D58B
square
#545DD5 #D5549D #D5CC54 #54D58B
split-complementary
#545DD5 #D58B54 #9DD554
monochromatic
#222A8C #2E38BD #545DD5 #858CE1 #B6BAED

Accessibility & contrast

On white

5.38
#545DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#545DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DD5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD5#FFFFFF#000000##FFFFFF
##545DD51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545dd5;
/* rgb */ color: rgb(84, 93, 213);
/* oklch */ color: oklch(53.8% 0.182 275.2);
Tailwind
colors: {
  custom: {
    50: '#908be3',
    500: '#545dd5',
    950: '#000000',
  },
}
SCSS
$custom: #545dd5;
$custom-light: #908be3;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd5",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 235.814,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.18181,
    "h": 275.2
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#545DD5
secondary
#DCD9A9
accent
#D944E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #545DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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