#545FD2#545FD2

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

Color values

HEX#545FD2
RGBrgb(84, 95, 210)
HSLhsl(235, 58%, 58%)
HSVhsv(235, 60%, 82%)
CMYKcmyk(60%, 54.8%, 0%, 17.6%)
CIE-LABlab(45.25, 30.27, -60.86)
CIE-LCHlch(45.25, 67.97, 296.44°)
OKLaboklab(53.99% 0.0146 -0.1746)
OKLCHoklch(53.99% 0.175 274.8)
XYZxyz(19.3774, 14.7209, 62.7806)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD2 #D2C754
analogous
#549ED2 #545FD2 #8854D2
triadic
#545FD2 #D2545F #5FD254
tetradic
#545FD2 #D2549E #D2C754 #54D288
square
#545FD2 #D2549E #D2C754 #54D288
split-complementary
#545FD2 #D28854 #9ED254
monochromatic
#242C88 #313CB8 #545FD2 #848CDF #B5BAEB

Accessibility & contrast

On white

5.32
#545FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#545FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD2#FFFFFF#000000##FFFFFF
##545FD21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0671D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545fd2;
/* rgb */ color: rgb(84, 95, 210);
/* oklch */ color: oklch(54.0% 0.175 274.8);
Tailwind
colors: {
  custom: {
    50: '#908ce1',
    500: '#545fd2',
    950: '#000000',
  },
}
SCSS
$custom: #545fd2;
$custom-light: #908ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd2",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 234.762,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.17523,
    "h": 274.8
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#545FD2
secondary
#DAD6A8
accent
#D446E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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