#545DB5#545DB5

#545DB5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.137 H 276.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#545DB5
RGBrgb(84, 93, 181)
HSLhsl(234, 40%, 52%)
HSVhsv(234, 54%, 71%)
CMYKcmyk(53.6%, 48.6%, 0%, 29%)
CIE-LABlab(42.84, 21.94, -47.96)
CIE-LCHlch(42.84, 52.74, 294.59°)
OKLaboklab(51.56% 0.0145 -0.1367)
OKLCHoklch(51.56% 0.137 276.1)
XYZxyz(15.9083, 13.0487, 45.3875)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB5 #B5AC54
analogous
#548EB5 #545DB5 #7C54B5
triadic
#545DB5 #B5545D #5DB554
tetradic
#545DB5 #B5548E #B5AC54 #54B57C
square
#545DB5 #B5548E #B5AC54 #54B57C
split-complementary
#545DB5 #B57C54 #8EB554
monochromatic
#2B3064 #3E458E #545DB5 #7F85C7 #A9AEDA

Accessibility & contrast

On white

5.82
#545DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#545DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB5#FFFFFF#000000##FFFFFF
##545DB51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#277080
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545db5;
/* rgb */ color: rgb(84, 93, 181);
/* oklch */ color: oklch(51.6% 0.137 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b8acc',
    500: '#545db5',
    950: '#000000',
  },
}
SCSS
$custom: #545db5;
$custom-light: #8b8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#545db5",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 234.433,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.13746,
    "h": 276.1
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#545DB5
secondary
#C8C49D
accent
#C458CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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