#545BB5#545BB5

#545BB5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.140 H 276.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#545BB5
RGBrgb(84, 91, 181)
HSLhsl(236, 40%, 52%)
HSVhsv(236, 54%, 71%)
CMYKcmyk(53.6%, 49.7%, 0%, 29%)
CIE-LABlab(42.31, 23.20, -48.80)
CIE-LCHlch(42.31, 54.04, 295.43°)
OKLaboklab(51.17% 0.0168 -0.1392)
OKLCHoklch(51.17% 0.14 276.9)
XYZxyz(15.7351, 12.7022, 45.3297)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB5 #B5AE54
analogous
#548CB5 #545BB5 #7E54B5
triadic
#545BB5 #B5545B #5BB554
tetradic
#545BB5 #B5548C #B5AE54 #54B57E
square
#545BB5 #B5548C #B5AE54 #54B57E
split-complementary
#545BB5 #B57E54 #8CB554
monochromatic
#2B2F64 #3E438E #545BB5 #7F84C7 #A9ADDA

Accessibility & contrast

On white

5.93
#545BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#545BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB5#FFFFFF#000000##FFFFFF
##545BB51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#276F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb5;
/* rgb */ color: rgb(84, 91, 181);
/* oklch */ color: oklch(51.2% 0.140 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b89cc',
    500: '#545bb5',
    950: '#000000',
  },
}
SCSS
$custom: #545bb5;
$custom-light: #8b89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb5",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 235.67,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.1402,
    "h": 276.9
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#545BB5
secondary
#C8C59D
accent
#C758CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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