#545FBF#545FBF

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

Color values

HEX#545FBF
RGBrgb(84, 95, 191)
HSLhsl(234, 46%, 54%)
HSVhsv(234, 56%, 75%)
CMYKcmyk(56%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.99, 23.97, -51.94)
CIE-LCHlch(43.99, 57.21, 294.77°)
OKLaboklab(52.64% 0.0134 -0.1484)
OKLCHoklch(52.64% 0.149 275.1)
XYZxyz(17.1493, 13.8296, 51.0458)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FBF #BFB454
analogous
#5495BF #545FBF #7F54BF
triadic
#545FBF #BF545F #5FBF54
tetradic
#545FBF #BF5495 #BFB454 #54BF7F
square
#545FBF #BF5495 #BFB454 #54BF7F
split-complementary
#545FBF #BF7F54 #95BF54
monochromatic
#2A316F #3A449C #545FBF #8189D0 #ADB2E0

Accessibility & contrast

On white

5.58
#545FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#545FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FBF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FBF#FFFFFF#000000##FFFFFF
##545FBF1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#1D64BD
Tritanopia (blue-blind)
#187586
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545fbf;
/* rgb */ color: rgb(84, 95, 191);
/* oklch */ color: oklch(52.6% 0.149 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d8cd3',
    500: '#545fbf',
    950: '#000000',
  },
}
SCSS
$custom: #545fbf;
$custom-light: #8d8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#545fbf",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 233.832,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52636,
    "c": 0.14898,
    "h": 275.1
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#545FBF
secondary
#CECAA1
accent
#C853D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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