#545AAF#545AAF

#545AAF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.133 H 277.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#545AAF
RGBrgb(84, 90, 175)
HSLhsl(236, 36%, 51%)
HSVhsv(236, 52%, 69%)
CMYKcmyk(52%, 48.6%, 0%, 31.4%)
CIE-LABlab(41.68, 21.89, -46.30)
CIE-LCHlch(41.68, 51.21, 295.30°)
OKLaboklab(50.57% 0.0173 -0.1318)
OKLCHoklch(50.57% 0.133 277.5)
XYZxyz(15.0478, 12.2914, 42.1287)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AAF #AFA954
analogous
#5487AF #545AAF #7B54AF
triadic
#545AAF #AF545A #5AAF54
tetradic
#545AAF #AF5487 #AFA954 #54AF7B
square
#545AAF #AF5487 #AFA954 #54AF7B
split-complementary
#545AAF #AF7B54 #87AF54
monochromatic
#2C2F5D #3F4487 #545AAF #7E82C3 #A7AAD6

Accessibility & contrast

On white

6.07
#545AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#545AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AAF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AAF#FFFFFF#000000##FFFFFF
##545AAF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#2E6D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545aaf;
/* rgb */ color: rgb(84, 90, 175);
/* oklch */ color: oklch(50.6% 0.133 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a88c7',
    500: '#545aaf',
    950: '#000000',
  },
}
SCSS
$custom: #545aaf;
$custom-light: #8a88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#545aaf",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 236.044,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.13296,
    "h": 277.5
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#545AAF
secondary
#C4C19B
accent
#C55CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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