#545FD5#545FD5

#545FD5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.179 H 274.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#545FD5
RGBrgb(84, 95, 213)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(60.6%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.46, 31.27, -62.24)
CIE-LCHlch(45.46, 69.65, 296.67°)
OKLaboklab(54.21% 0.0147 -0.1787)
OKLCHoklch(54.21% 0.179 274.7)
XYZxyz(19.7547, 14.8718, 64.7674)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD5 #D5CA54
analogous
#549FD5 #545FD5 #8954D5
triadic
#545FD5 #D5545F #5FD554
tetradic
#545FD5 #D5549F #D5CA54 #54D589
square
#545FD5 #D5549F #D5CA54 #54D589
split-complementary
#545FD5 #D58954 #9FD554
monochromatic
#222B8C #2E3BBD #545FD5 #858DE1 #B6BBED

Accessibility & contrast

On white

5.28
#545FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#545FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD5#FFFFFF#000000##FFFFFF
##545FD51.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545fd5;
/* rgb */ color: rgb(84, 95, 213);
/* oklch */ color: oklch(54.2% 0.179 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ce3',
    500: '#545fd5',
    950: '#000000',
  },
}
SCSS
$custom: #545fd5;
$custom-light: #908ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd5",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 234.884,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.17928,
    "h": 274.7
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#545FD5
secondary
#DCD8A9
accent
#D644E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #545FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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