#545FD4#545FD4

#545FD4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.178 H 274.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#545FD4
RGBrgb(84, 95, 212)
HSLhsl(235, 60%, 58%)
HSVhsv(235, 60%, 83%)
CMYKcmyk(60.4%, 55.2%, 0%, 16.9%)
CIE-LABlab(45.39, 30.94, -61.78)
CIE-LCHlch(45.39, 69.09, 296.60°)
OKLaboklab(54.13% 0.0147 -0.1773)
OKLCHoklch(54.13% 0.178 274.7)
XYZxyz(19.6281, 14.8212, 64.1010)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD4 #D4C954
analogous
#549FD4 #545FD4 #8954D4
triadic
#545FD4 #D4545F #5FD454
tetradic
#545FD4 #D4549F #D4C954 #54D489
square
#545FD4 #D4549F #D4C954 #54D489
split-complementary
#545FD4 #D48954 #9FD454
monochromatic
#232C8B #2F3BBC #545FD4 #858DE0 #B6BBED

Accessibility & contrast

On white

5.30
#545FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#545FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD4#FFFFFF#000000##FFFFFF
##545FD41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545fd4;
/* rgb */ color: rgb(84, 95, 212);
/* oklch */ color: oklch(54.1% 0.178 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ce2',
    500: '#545fd4',
    950: '#000000',
  },
}
SCSS
$custom: #545fd4;
$custom-light: #908ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd4",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 234.844,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.17793,
    "h": 274.7
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#545FD4
secondary
#DBD7A8
accent
#D545E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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