#5273BD#5273BD

#5273BD is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.5% C 0.121 H 264.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5273BD
RGBrgb(82, 115, 189)
HSLhsl(221, 45%, 53%)
HSVhsv(221, 57%, 74%)
CMYKcmyk(56.6%, 39.2%, 0%, 25.9%)
CIE-LABlab(49.16, 10.40, -42.53)
CIE-LCHlch(49.16, 43.78, 283.75°)
OKLaboklab(56.52% -0.0112 -0.1206)
OKLCHoklch(56.52% 0.121 264.7)
XYZxyz(18.7926, 17.7280, 50.5658)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273BD #BD9C52
analogous
#52A9BD #5273BD #6652BD
triadic
#5273BD #BD5273 #73BD52
tetradic
#5273BD #BD52A9 #BD9C52 #52BD66
square
#5273BD #BD52A9 #BD9C52 #52BD66
split-complementary
#5273BD #BD6652 #A9BD52
monochromatic
#293E6C #3A5798 #5273BD #7E97CE #ABBBDF

Accessibility & contrast

On white

4.62
#5273BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5273BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5273BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273BD#FFFFFF#000000##FFFFFF
##5273BD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#06838F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5273bd;
/* rgb */ color: rgb(82, 115, 189);
/* oklch */ color: oklch(56.5% 0.121 264.7);
Tailwind
colors: {
  custom: {
    50: '#8a9ad1',
    500: '#5273bd',
    950: '#000000',
  },
}
SCSS
$custom: #5273bd;
$custom-light: #8a9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5273bd",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 221.495,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.12111,
    "h": 264.7
  },
  "luminance": 0.17729
}

Semantic roles & 50–950 ramp

primary
#5273BD
secondary
#CCBE9E
accent
#AD53D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5273BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5273BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva