#545FCF#545FCF

#545FCF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.171 H 274.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#545FCF
RGBrgb(84, 95, 207)
HSLhsl(235, 56%, 57%)
HSVhsv(235, 59%, 81%)
CMYKcmyk(59.4%, 54.1%, 0%, 18.8%)
CIE-LABlab(45.04, 29.27, -59.47)
CIE-LCHlch(45.04, 66.29, 296.21°)
OKLaboklab(53.77% 0.0145 -0.1705)
OKLCHoklch(53.77% 0.171 274.9)
XYZxyz(19.0072, 14.5728, 60.8306)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FCF #CFC454
analogous
#549DCF #545FCF #8754CF
triadic
#545FCF #CF545F #5FCF54
tetradic
#545FCF #CF549D #CFC454 #54CF87
square
#545FCF #CF549D #CFC454 #54CF87
split-complementary
#545FCF #CF8754 #9DCF54
monochromatic
#252D84 #323EB3 #545FCF #848CDC #B4B8EA

Accessibility & contrast

On white

5.36
#545FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#545FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FCF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FCF#FFFFFF#000000##FFFFFF
##545FCF1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545fcf;
/* rgb */ color: rgb(84, 95, 207);
/* oklch */ color: oklch(53.8% 0.171 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f8cde',
    500: '#545fcf',
    950: '#000000',
  },
}
SCSS
$custom: #545fcf;
$custom-light: #8f8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#545fcf",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 234.634,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.17115,
    "h": 274.9
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#545FCF
secondary
#D8D4A6
accent
#D248DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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