#545BB1#545BB1

#545BB1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.134 H 277.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#545BB1
RGBrgb(84, 91, 177)
HSLhsl(235, 37%, 51%)
HSVhsv(235, 53%, 69%)
CMYKcmyk(52.5%, 48.6%, 0%, 30.6%)
CIE-LABlab(42.06, 21.90, -46.85)
CIE-LCHlch(42.06, 51.72, 295.06°)
OKLaboklab(50.9% 0.0164 -0.1335)
OKLCHoklch(50.9% 0.134 277)
XYZxyz(15.3306, 12.5404, 43.1992)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB1 #B1AA54
analogous
#5489B1 #545BB1 #7B54B1
triadic
#545BB1 #B1545B #5BB154
tetradic
#545BB1 #B15489 #B1AA54 #54B17B
square
#545BB1 #B15489 #B1AA54 #54B17B
split-complementary
#545BB1 #B17B54 #89B154
monochromatic
#2B2F5F #3F4489 #545BB1 #7E83C4 #A8ACD7

Accessibility & contrast

On white

5.99
#545BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#545BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB1#FFFFFF#000000##FFFFFF
##545BB11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#2C6E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545bb1;
/* rgb */ color: rgb(84, 91, 177);
/* oklch */ color: oklch(50.9% 0.134 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b89c9',
    500: '#545bb1',
    950: '#000000',
  },
}
SCSS
$custom: #545bb1;
$custom-light: #8b89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb1",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 235.484,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.13446,
    "h": 277
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#545BB1
secondary
#C5C29C
accent
#C55ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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