#545FD1#545FD1

#545FD1 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.174 H 274.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#545FD1
RGBrgb(84, 95, 209)
HSLhsl(235, 58%, 57%)
HSVhsv(235, 60%, 82%)
CMYKcmyk(59.8%, 54.5%, 0%, 18%)
CIE-LABlab(45.18, 29.94, -60.40)
CIE-LCHlch(45.18, 67.41, 296.37°)
OKLaboklab(53.91% 0.0146 -0.1733)
OKLCHoklch(53.91% 0.174 274.8)
XYZxyz(19.2532, 14.6712, 62.1265)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD1 #D1C654
analogous
#549ED1 #545FD1 #8754D1
triadic
#545FD1 #D1545F #5FD154
tetradic
#545FD1 #D1549E #D1C654 #54D187
square
#545FD1 #D1549E #D1C654 #54D187
split-complementary
#545FD1 #D18754 #9ED154
monochromatic
#242D86 #313DB7 #545FD1 #848CDE #B4B9EB

Accessibility & contrast

On white

5.34
#545FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#545FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD1#FFFFFF#000000##FFFFFF
##545FD11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B70D5
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545fd1;
/* rgb */ color: rgb(84, 95, 209);
/* oklch */ color: oklch(53.9% 0.174 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f8ce0',
    500: '#545fd1',
    950: '#000000',
  },
}
SCSS
$custom: #545fd1;
$custom-light: #8f8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd1",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 234.72,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.17387,
    "h": 274.8
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#545FD1
secondary
#DAD5A7
accent
#D347E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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