#545FB0#545FB0

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

Color values

HEX#545FB0
RGBrgb(84, 95, 176)
HSLhsl(233, 37%, 51%)
HSVhsv(233, 52%, 69%)
CMYKcmyk(52.3%, 46%, 0%, 31%)
CIE-LABlab(43.07, 19.05, -44.66)
CIE-LCHlch(43.07, 48.55, 293.11°)
OKLaboklab(51.64% 0.0116 -0.127)
OKLCHoklch(51.64% 0.128 275.2)
XYZxyz(15.5824, 13.2028, 42.7932)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FB0 #B0A554
analogous
#548DB0 #545FB0 #7754B0
triadic
#545FB0 #B0545F #5FB054
tetradic
#545FB0 #B0548D #B0A554 #54B077
square
#545FB0 #B0548D #B0A554 #54B077
split-complementary
#545FB0 #B07754 #8DB054
monochromatic
#2B325E #3F4888 #545FB0 #7E86C3 #A8ADD7

Accessibility & contrast

On white

5.77
#545FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#545FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FB0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FB0#FFFFFF#000000##FFFFFF
##545FB01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB3
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#2C717F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545fb0;
/* rgb */ color: rgb(84, 95, 176);
/* oklch */ color: oklch(51.6% 0.128 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a8cc8',
    500: '#545fb0',
    950: '#000000',
  },
}
SCSS
$custom: #545fb0;
$custom-light: #8a8cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#545fb0",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 232.826,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.1275,
    "h": 275.2
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#545FB0
secondary
#C4BF9C
accent
#BF5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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