#545FB1#545FB1

#545FB1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.129 H 275.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#545FB1
RGBrgb(84, 95, 177)
HSLhsl(233, 37%, 51%)
HSVhsv(233, 53%, 69%)
CMYKcmyk(52.5%, 46.3%, 0%, 30.6%)
CIE-LABlab(43.13, 19.38, -45.15)
CIE-LCHlch(43.13, 49.13, 293.23°)
OKLaboklab(51.71% 0.0117 -0.1284)
OKLCHoklch(51.71% 0.129 275.2)
XYZxyz(15.6817, 13.2426, 43.3162)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FB1 #B1A654
analogous
#548DB1 #545FB1 #7754B1
triadic
#545FB1 #B1545F #5FB154
tetradic
#545FB1 #B1548D #B1A654 #54B177
square
#545FB1 #B1548D #B1A654 #54B177
split-complementary
#545FB1 #B17754 #8DB154
monochromatic
#2B325F #3F4789 #545FB1 #7E86C4 #A8AED7

Accessibility & contrast

On white

5.76
#545FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#545FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FB1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FB1#FFFFFF#000000##FFFFFF
##545FB11.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#2B717F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545fb1;
/* rgb */ color: rgb(84, 95, 177);
/* oklch */ color: oklch(51.7% 0.129 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a8cc9',
    500: '#545fb1',
    950: '#000000',
  },
}
SCSS
$custom: #545fb1;
$custom-light: #8a8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#545fb1",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 232.903,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.12896,
    "h": 275.2
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#545FB1
secondary
#C5C09C
accent
#C05ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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