#5272BD#5272BD

#5272BD is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.3% C 0.122 H 265.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5272BD
RGBrgb(82, 114, 189)
HSLhsl(222, 45%, 53%)
HSVhsv(222, 57%, 74%)
CMYKcmyk(56.6%, 39.7%, 0%, 25.9%)
CIE-LABlab(48.89, 11.02, -42.97)
CIE-LCHlch(48.89, 44.36, 284.38°)
OKLaboklab(56.31% -0.0101 -0.1219)
OKLCHoklch(56.31% 0.122 265.3)
XYZxyz(18.6792, 17.5011, 50.5280)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272BD #BD9D52
analogous
#52A7BD #5272BD #6752BD
triadic
#5272BD #BD5272 #72BD52
tetradic
#5272BD #BD52A7 #BD9D52 #52BD67
square
#5272BD #BD52A7 #BD9D52 #52BD67
split-complementary
#5272BD #BD6752 #A7BD52
monochromatic
#293D6C #3A5698 #5272BD #7E96CE #ABBADF

Accessibility & contrast

On white

4.67
#5272BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5272BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5272BD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272BD#FFFFFF#000000##FFFFFF
##5272BD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379C0
Deuteranopia (green-blind)
#4570BB
Tritanopia (blue-blind)
#07838E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5272bd;
/* rgb */ color: rgb(82, 114, 189);
/* oklch */ color: oklch(56.3% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#8a9ad1',
    500: '#5272bd',
    950: '#000000',
  },
}
SCSS
$custom: #5272bd;
$custom-light: #8a9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5272bd",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 222.056,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.12232,
    "h": 265.3
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#5272BD
secondary
#CCBF9E
accent
#AE53D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5272BD

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

Preview Lab → · Contrast checker → · Palette generator →

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