#545FBC#545FBC

#545FBC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.145 H 275.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#545FBC
RGBrgb(84, 95, 188)
HSLhsl(234, 44%, 53%)
HSVhsv(234, 55%, 74%)
CMYKcmyk(55.3%, 49.5%, 0%, 26.3%)
CIE-LABlab(43.80, 22.98, -50.50)
CIE-LCHlch(43.80, 55.48, 294.47°)
OKLaboklab(52.43% 0.0131 -0.1441)
OKLCHoklch(52.43% 0.145 275.2)
XYZxyz(16.8225, 13.6989, 49.3249)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FBC #BCB154
analogous
#5493BC #545FBC #7D54BC
triadic
#545FBC #BC545F #5FBC54
tetradic
#545FBC #BC5493 #BCB154 #54BC7D
square
#545FBC #BC5493 #BCB154 #54BC7D
split-complementary
#545FBC #BC7D54 #93BC54
monochromatic
#2A316B #3B4597 #545FBC #8088CD #ACB1DE

Accessibility & contrast

On white

5.61
#545FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#545FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FBC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FBC#FFFFFF#000000##FFFFFF
##545FBC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#2363BA
Tritanopia (blue-blind)
#1D7484
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545fbc;
/* rgb */ color: rgb(84, 95, 188);
/* oklch */ color: oklch(52.4% 0.145 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cd1',
    500: '#545fbc',
    950: '#000000',
  },
}
SCSS
$custom: #545fbc;
$custom-light: #8c8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#545fbc",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 233.654,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.14474,
    "h": 275.2
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#545FBC
secondary
#CCC8A0
accent
#C654D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #545FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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