#5273BC#5273BC

#5273BC is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.5% C 0.120 H 264.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5273BC
RGBrgb(82, 115, 188)
HSLhsl(221, 44%, 53%)
HSVhsv(221, 56%, 74%)
CMYKcmyk(56.4%, 38.8%, 0%, 26.3%)
CIE-LABlab(49.11, 10.07, -42.04)
CIE-LCHlch(49.11, 43.23, 283.48°)
OKLaboklab(56.46% -0.0115 -0.1191)
OKLCHoklch(56.46% 0.12 264.5)
XYZxyz(18.6844, 17.6847, 49.9961)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273BC #BC9B52
analogous
#52A8BC #5273BC #6652BC
triadic
#5273BC #BC5273 #73BC52
tetradic
#5273BC #BC52A8 #BC9B52 #52BC66
square
#5273BC #BC52A8 #BC9B52 #52BC66
split-complementary
#5273BC #BC6652 #A8BC52
monochromatic
#293D6A #3A5797 #5273BC #7E97CD #AABADE

Accessibility & contrast

On white

4.63
#5273BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5273BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5273BC#FFFFFF#000000##FFFFFF
##5273BC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#09838E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5273bc;
/* rgb */ color: rgb(82, 115, 188);
/* oklch */ color: oklch(56.5% 0.120 264.5);
Tailwind
colors: {
  custom: {
    50: '#8a9ad0',
    500: '#5273bc',
    950: '#000000',
  },
}
SCSS
$custom: #5273bc;
$custom-light: #8a9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5273bc",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 221.321,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.1197,
    "h": 264.5
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5273BC

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

Preview Lab → · Contrast checker → · Palette generator →

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