#5272BB#5272BB

#5272BB is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.2% C 0.119 H 264.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5272BB
RGBrgb(82, 114, 187)
HSLhsl(222, 44%, 53%)
HSVhsv(222, 56%, 73%)
CMYKcmyk(56.1%, 39%, 0%, 26.7%)
CIE-LABlab(48.78, 10.36, -41.99)
CIE-LCHlch(48.78, 43.24, 283.86°)
OKLaboklab(56.19% -0.0105 -0.119)
OKLCHoklch(56.19% 0.119 264.9)
XYZxyz(18.4636, 17.4149, 49.3925)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272BB #BB9B52
analogous
#52A6BB #5272BB #6652BB
triadic
#5272BB #BB5272 #72BB52
tetradic
#5272BB #BB52A6 #BB9B52 #52BB66
square
#5272BB #BB52A6 #BB9B52 #52BB66
split-complementary
#5272BB #BB6652 #A6BB52
monochromatic
#293D69 #3B5695 #5272BB #7E96CC #AABADE

Accessibility & contrast

On white

4.68
#5272BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5272BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5272BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272BB#FFFFFF#000000##FFFFFF
##5272BB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#0D828D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5272bb;
/* rgb */ color: rgb(82, 114, 187);
/* oklch */ color: oklch(56.2% 0.119 264.9);
Tailwind
colors: {
  custom: {
    50: '#8a9ad0',
    500: '#5272bb',
    950: '#000000',
  },
}
SCSS
$custom: #5272bb;
$custom-light: #8a9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5272bb",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 221.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.11949,
    "h": 264.9
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5272BB

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

Preview Lab → · Contrast checker → · Palette generator →

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