#5273AB#5273AB

#5273AB is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.5% C 0.096 H 260.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5273AB
RGBrgb(82, 115, 171)
HSLhsl(218, 35%, 50%)
HSVhsv(218, 52%, 67%)
CMYKcmyk(52%, 32.7%, 0%, 32.9%)
CIE-LABlab(48.25, 4.53, -33.53)
CIE-LCHlch(48.25, 33.84, 277.70°)
OKLaboklab(55.52% -0.0157 -0.0944)
OKLCHoklch(55.52% 0.096 260.5)
XYZxyz(16.9586, 16.9944, 40.9068)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273AB #AB8A52
analogous
#52A0AB #5273AB #5E52AB
triadic
#5273AB #AB5273 #73AB52
tetradic
#5273AB #AB52A0 #AB8A52 #52AB5E
square
#5273AB #AB52A0 #AB8A52 #52AB5E
split-complementary
#5273AB #AB5E52 #A0AB52
monochromatic
#2A3B58 #3E5782 #5273AB #7B94C0 #A4B6D3

Accessibility & contrast

On white

4.77
#5273AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5273AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5273AB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5273AB#FFFFFF#000000##FFFFFF
##5273AB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AD
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#277F87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5273ab;
/* rgb */ color: rgb(82, 115, 171);
/* oklch */ color: oklch(55.5% 0.096 260.5);
Tailwind
colors: {
  custom: {
    50: '#889bc4',
    500: '#5273ab',
    950: '#000000',
  },
}
SCSS
$custom: #5273ab;
$custom-light: #889bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5273ab",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 171
  },
  "hsl": {
    "h": 217.753,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.09568,
    "h": 260.5
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#5273AB
secondary
#C1B298
accent
#A25DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5273AB

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

Preview Lab → · Contrast checker → · Palette generator →

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