#5273AA#5273AA

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

Color values

HEX#5273AA
RGBrgb(82, 115, 170)
HSLhsl(218, 35%, 49%)
HSVhsv(218, 52%, 67%)
CMYKcmyk(51.8%, 32.4%, 0%, 33.3%)
CIE-LABlab(48.21, 4.21, -33.03)
CIE-LCHlch(48.21, 33.29, 277.27°)
OKLaboklab(55.46% -0.016 -0.0929)
OKLCHoklch(55.46% 0.094 260.2)
XYZxyz(16.8637, 16.9564, 40.4067)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273AA #AA8952
analogous
#529FAA #5273AA #5D52AA
triadic
#5273AA #AA5273 #73AA52
tetradic
#5273AA #AA529F #AA8952 #52AA5D
square
#5273AA #AA529F #AA8952 #52AA5D
split-complementary
#5273AA #AA5D52 #9FAA52
monochromatic
#2A3B57 #3E5781 #5273AA #7A94BF #A4B5D3

Accessibility & contrast

On white

4.78
#5273AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5273AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5273AA#FFFFFF#000000##FFFFFF
##5273AA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AC
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#287F87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5273aa;
/* rgb */ color: rgb(82, 115, 170);
/* oklch */ color: oklch(55.5% 0.094 260.2);
Tailwind
colors: {
  custom: {
    50: '#889bc3',
    500: '#5273aa',
    950: '#000000',
  },
}
SCSS
$custom: #5273aa;
$custom-light: #889bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#5273aa",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 170
  },
  "hsl": {
    "h": 217.5,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.09427,
    "h": 260.2
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5273AA

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

Preview Lab → · Contrast checker → · Palette generator →

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