#545FBE#545FBE

#545FBE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.148 H 275.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#545FBE
RGBrgb(84, 95, 190)
HSLhsl(234, 45%, 54%)
HSVhsv(234, 56%, 75%)
CMYKcmyk(55.8%, 50%, 0%, 25.5%)
CIE-LABlab(43.92, 23.64, -51.46)
CIE-LCHlch(43.92, 56.63, 294.67°)
OKLaboklab(52.57% 0.0133 -0.147)
OKLCHoklch(52.57% 0.148 275.2)
XYZxyz(17.0396, 13.7858, 50.4682)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FBE #BEB354
analogous
#5494BE #545FBE #7E54BE
triadic
#545FBE #BE545F #5FBE54
tetradic
#545FBE #BE5494 #BEB354 #54BE7E
square
#545FBE #BE5494 #BEB354 #54BE7E
split-complementary
#545FBE #BE7E54 #94BE54
monochromatic
#2A316E #3B459A #545FBE #8088CF #ADB2E0

Accessibility & contrast

On white

5.59
#545FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#545FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FBE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FBE#FFFFFF#000000##FFFFFF
##545FBE1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#1A7485
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545fbe;
/* rgb */ color: rgb(84, 95, 190);
/* oklch */ color: oklch(52.6% 0.148 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cd2',
    500: '#545fbe',
    950: '#000000',
  },
}
SCSS
$custom: #545fbe;
$custom-light: #8c8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#545fbe",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 233.774,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.14757,
    "h": 275.2
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#545FBE
secondary
#CEC9A0
accent
#C753D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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