#545FD7#545FD7

#545FD7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.182 H 274.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#545FD7
RGBrgb(84, 95, 215)
HSLhsl(235, 62%, 59%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(60.9%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.60, 31.93, -63.15)
CIE-LCHlch(45.60, 70.77, 296.82°)
OKLaboklab(54.36% 0.0148 -0.1814)
OKLCHoklch(54.36% 0.182 274.7)
XYZxyz(20.0101, 14.9739, 66.1126)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD7 #D7CC54
analogous
#54A0D7 #545FD7 #8A54D7
triadic
#545FD7 #D7545F #5FD754
tetradic
#545FD7 #D754A0 #D7CC54 #54D78A
square
#545FD7 #D754A0 #D7CC54 #54D78A
split-complementary
#545FD7 #D78A54 #A0D754
monochromatic
#212B8F #2D39C1 #545FD7 #868DE3 #B7BCEE

Accessibility & contrast

On white

5.26
#545FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#545FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD7#FFFFFF#000000##FFFFFF
##545FD71.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545fd7;
/* rgb */ color: rgb(84, 95, 215);
/* oklch */ color: oklch(54.4% 0.182 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ce4',
    500: '#545fd7',
    950: '#000000',
  },
}
SCSS
$custom: #545fd7;
$custom-light: #908ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd7",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 234.962,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.18196,
    "h": 274.7
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#545FD7
secondary
#DDD9A9
accent
#D843E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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