#545FD8#545FD8

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

Color values

HEX#545FD8
RGBrgb(84, 95, 216)
HSLhsl(235, 63%, 59%)
HSVhsv(235, 61%, 85%)
CMYKcmyk(61.1%, 56%, 0%, 15.3%)
CIE-LABlab(45.67, 32.27, -63.61)
CIE-LCHlch(45.67, 71.33, 296.90°)
OKLaboklab(54.43% 0.0148 -0.1827)
OKLCHoklch(54.43% 0.183 274.6)
XYZxyz(20.1390, 15.0255, 66.7914)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD8 #D8CD54
analogous
#54A1D8 #545FD8 #8B54D8
triadic
#545FD8 #D8545F #5FD854
tetradic
#545FD8 #D854A1 #D8CD54 #54D88B
square
#545FD8 #D854A1 #D8CD54 #54D88B
split-complementary
#545FD8 #D88B54 #A1D854
monochromatic
#212A91 #2C39C2 #545FD8 #868EE3 #B8BCEF

Accessibility & contrast

On white

5.24
#545FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#545FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD8#FFFFFF#000000##FFFFFF
##545FD81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545fd8;
/* rgb */ color: rgb(84, 95, 216);
/* oklch */ color: oklch(54.4% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#918ce5',
    500: '#545fd8',
    950: '#000000',
  },
}
SCSS
$custom: #545fd8;
$custom-light: #918ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd8",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 235,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.1833,
    "h": 274.6
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#545FD8
secondary
#DEDAAA
accent
#D842E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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