#545FC1#545FC1

#545FC1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.152 H 275.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#545FC1
RGBrgb(84, 95, 193)
HSLhsl(234, 47%, 54%)
HSVhsv(234, 56%, 76%)
CMYKcmyk(56.5%, 50.8%, 0%, 24.3%)
CIE-LABlab(44.12, 24.63, -52.90)
CIE-LCHlch(44.12, 58.35, 294.97°)
OKLaboklab(52.77% 0.0135 -0.1512)
OKLCHoklch(52.77% 0.152 275.1)
XYZxyz(17.3709, 13.9183, 52.2129)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC1 #C1B654
analogous
#5496C1 #545FC1 #8054C1
triadic
#545FC1 #C1545F #5FC154
tetradic
#545FC1 #C15496 #C1B654 #54C180
square
#545FC1 #C15496 #C1B654 #54C180
split-complementary
#545FC1 #C18054 #96C154
monochromatic
#293071 #39449E #545FC1 #8189D1 #AEB3E2

Accessibility & contrast

On white

5.55
#545FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#545FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC1#FFFFFF#000000##FFFFFF
##545FC11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#147587
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545fc1;
/* rgb */ color: rgb(84, 95, 193);
/* oklch */ color: oklch(52.8% 0.152 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d8cd4',
    500: '#545fc1',
    950: '#000000',
  },
}
SCSS
$custom: #545fc1;
$custom-light: #8d8cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc1",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 233.945,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.1518,
    "h": 275.1
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#545FC1
secondary
#D0CBA1
accent
#C951D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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