#5272B2#5272B2

#5272B2 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.7% C 0.107 H 263.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5272B2
RGBrgb(82, 114, 178)
HSLhsl(220, 38%, 51%)
HSVhsv(220, 54%, 70%)
CMYKcmyk(53.9%, 36%, 0%, 30.2%)
CIE-LABlab(48.31, 7.40, -37.51)
CIE-LCHlch(48.31, 38.24, 281.16°)
OKLaboklab(55.68% -0.0127 -0.106)
OKLCHoklch(55.68% 0.107 263.2)
XYZxyz(17.5302, 17.0415, 44.4764)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272B2 #B29252
analogous
#52A2B2 #5272B2 #6252B2
triadic
#5272B2 #B25272 #72B252
tetradic
#5272B2 #B252A2 #B29252 #52B262
square
#5272B2 #B252A2 #B29252 #52B262
split-complementary
#5272B2 #B26252 #A2B252
monochromatic
#2A3C5F #3D578A #5272B2 #7C95C5 #A7B7D8

Accessibility & contrast

On white

4.76
#5272B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5272B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5272B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272B2#FFFFFF#000000##FFFFFF
##5272B21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5977B5
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#1F8089
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5272b2;
/* rgb */ color: rgb(82, 114, 178);
/* oklch */ color: oklch(55.7% 0.107 263.2);
Tailwind
colors: {
  custom: {
    50: '#899ac9',
    500: '#5272b2',
    950: '#000000',
  },
}
SCSS
$custom: #5272b2;
$custom-light: #899ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5272b2",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 220,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.10671,
    "h": 263.2
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#5272B2
secondary
#C5B79B
accent
#A759CE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5272B2

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

Preview Lab → · Contrast checker → · Palette generator →

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