#545FB6#545FB6

#545FB6 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.136 H 275.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#545FB6
RGBrgb(84, 95, 182)
HSLhsl(233, 40%, 52%)
HSVhsv(233, 54%, 71%)
CMYKcmyk(53.8%, 47.8%, 0%, 28.6%)
CIE-LABlab(43.43, 21.01, -47.60)
CIE-LCHlch(43.43, 52.03, 293.82°)
OKLaboklab(52.03% 0.0124 -0.1356)
OKLCHoklch(52.03% 0.136 275.2)
XYZxyz(16.1892, 13.4456, 45.9891)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FB6 #B6AB54
analogous
#5490B6 #545FB6 #7A54B6
triadic
#545FB6 #B6545F #5FB654
tetradic
#545FB6 #B65490 #B6AB54 #54B67A
square
#545FB6 #B65490 #B6AB54 #54B67A
split-complementary
#545FB6 #B67A54 #90B654
monochromatic
#2B3165 #3D4790 #545FB6 #7F87C8 #AAAFDB

Accessibility & contrast

On white

5.69
#545FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#545FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FB6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FB6#FFFFFF#000000##FFFFFF
##545FB61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BB9
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#257282
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545fb6;
/* rgb */ color: rgb(84, 95, 182);
/* oklch */ color: oklch(52.0% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b8ccc',
    500: '#545fb6',
    950: '#000000',
  },
}
SCSS
$custom: #545fb6;
$custom-light: #8b8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#545fb6",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 233.265,
    "s": 40.164,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.13617,
    "h": 275.2
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#545FB6
secondary
#C8C39E
accent
#C358D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #545FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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