#545FCD#545FCD

#545FCD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.168 H 274.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#545FCD
RGBrgb(84, 95, 205)
HSLhsl(235, 55%, 57%)
HSVhsv(235, 59%, 80%)
CMYKcmyk(59%, 53.7%, 0%, 19.6%)
CIE-LABlab(44.91, 28.61, -58.55)
CIE-LCHlch(44.91, 65.16, 296.04°)
OKLaboklab(53.62% 0.0144 -0.1678)
OKLCHoklch(53.62% 0.168 274.9)
XYZxyz(18.7642, 14.4756, 59.5510)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FCD #CDC254
analogous
#549CCD #545FCD #8654CD
triadic
#545FCD #CD545F #5FCD54
tetradic
#545FCD #CD549C #CDC254 #54CD86
square
#545FCD #CD549C #CDC254 #54CD86
split-complementary
#545FCD #CD8654 #9CCD54
monochromatic
#262E81 #343FB0 #545FCD #838BDB #B3B8E9

Accessibility & contrast

On white

5.39
#545FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#545FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FCD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FCD#FFFFFF#000000##FFFFFF
##545FCD1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545fcd;
/* rgb */ color: rgb(84, 95, 205);
/* oklch */ color: oklch(53.6% 0.168 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f8cdd',
    500: '#545fcd',
    950: '#000000',
  },
}
SCSS
$custom: #545fcd;
$custom-light: #8f8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#545fcd",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 234.545,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.16843,
    "h": 274.9
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#545FCD
secondary
#D7D3A6
accent
#D14ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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