#5273AF#5273AF

#5273AF is a mid, moderate blue. Relative luminance 0.172; OKLCH L 55.7% C 0.101 H 261.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5273AF
RGBrgb(82, 115, 175)
HSLhsl(219, 37%, 50%)
HSVhsv(219, 53%, 69%)
CMYKcmyk(53.1%, 34.3%, 0%, 31.4%)
CIE-LABlab(48.45, 5.82, -35.56)
CIE-LCHlch(48.45, 36.03, 279.29°)
OKLaboklab(55.73% -0.0146 -0.1003)
OKLCHoklch(55.73% 0.101 261.7)
XYZxyz(17.3457, 17.1492, 42.9452)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273AF #AF8E52
analogous
#52A1AF #5273AF #5F52AF
triadic
#5273AF #AF5273 #73AF52
tetradic
#5273AF #AF52A1 #AF8E52 #52AF5F
square
#5273AF #AF52A1 #AF8E52 #52AF5F
split-complementary
#5273AF #AF5F52 #A1AF52
monochromatic
#2B3C5C #3E5786 #5273AF #7C95C2 #A6B7D6

Accessibility & contrast

On white

4.74
#5273AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5273AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5273AF#FFFFFF#000000##FFFFFF
##5273AF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#228089
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5273af;
/* rgb */ color: rgb(82, 115, 175);
/* oklch */ color: oklch(55.7% 0.101 261.7);
Tailwind
colors: {
  custom: {
    50: '#899bc7',
    500: '#5273af',
    950: '#000000',
  },
}
SCSS
$custom: #5273af;
$custom-light: #899bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5273af",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 218.71,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.10131,
    "h": 261.7
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#5273AF
secondary
#C3B49A
accent
#A45BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5273AF

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

Preview Lab → · Contrast checker → · Palette generator →

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