#545FD9#545FD9

#545FD9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.185 H 274.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#545FD9
RGBrgb(84, 95, 217)
HSLhsl(235, 64%, 59%)
HSVhsv(235, 61%, 85%)
CMYKcmyk(61.3%, 56.2%, 0%, 14.9%)
CIE-LABlab(45.74, 32.60, -64.06)
CIE-LCHlch(45.74, 71.88, 296.97°)
OKLaboklab(54.51% 0.0148 -0.184)
OKLCHoklch(54.51% 0.185 274.6)
XYZxyz(20.2686, 15.0774, 67.4743)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD9 #D9CE54
analogous
#54A1D9 #545FD9 #8C54D9
triadic
#545FD9 #D9545F #5FD954
tetradic
#545FD9 #D954A1 #D9CE54 #54D98C
square
#545FD9 #D954A1 #D9CE54 #54D98C
split-complementary
#545FD9 #D98C54 #A1D954
monochromatic
#202A92 #2C38C4 #545FD9 #868EE4 #B8BDEF

Accessibility & contrast

On white

5.23
#545FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#545FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD9#FFFFFF#000000##FFFFFF
##545FD91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545fd9;
/* rgb */ color: rgb(84, 95, 217);
/* oklch */ color: oklch(54.5% 0.185 274.6);
Tailwind
colors: {
  custom: {
    50: '#918ce6',
    500: '#545fd9',
    950: '#000000',
  },
}
SCSS
$custom: #545fd9;
$custom-light: #918ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd9",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 235.038,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.18464,
    "h": 274.6
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#545FD9
secondary
#DFDAAA
accent
#D941E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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