#5273BB#5273BB

#5273BB is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.4% C 0.118 H 264.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5273BB
RGBrgb(82, 115, 187)
HSLhsl(221, 44%, 53%)
HSVhsv(221, 56%, 73%)
CMYKcmyk(56.1%, 38.5%, 0%, 26.7%)
CIE-LABlab(49.06, 9.74, -41.54)
CIE-LCHlch(49.06, 42.67, 283.20°)
OKLaboklab(56.41% -0.0117 -0.1177)
OKLCHoklch(56.41% 0.118 264.3)
XYZxyz(18.5770, 17.6417, 49.4303)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5273BB #BB9A52
analogous
#52A7BB #5273BB #6652BB
triadic
#5273BB #BB5273 #73BB52
tetradic
#5273BB #BB52A7 #BB9A52 #52BB66
square
#5273BB #BB52A7 #BB9A52 #52BB66
split-complementary
#5273BB #BB6652 #A7BB52
monochromatic
#293D69 #3B5795 #5273BB #7E97CC #AABADE

Accessibility & contrast

On white

4.64
#5273BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5273BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5273BB#FFFFFF#000000##FFFFFF
##5273BB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#0D838E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5273bb;
/* rgb */ color: rgb(82, 115, 187);
/* oklch */ color: oklch(56.4% 0.118 264.3);
Tailwind
colors: {
  custom: {
    50: '#8a9ad0',
    500: '#5273bb',
    950: '#000000',
  },
}
SCSS
$custom: #5273bb;
$custom-light: #8a9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5273bb",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 221.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.11829,
    "h": 264.3
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#5273BB
secondary
#CBBD9E
accent
#AB54D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5273BB

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

Preview Lab → · Contrast checker → · Palette generator →

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