#5272BC#5272BC

#5272BC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.121 H 265.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5272BC
RGBrgb(82, 114, 188)
HSLhsl(222, 44%, 53%)
HSVhsv(222, 56%, 74%)
CMYKcmyk(56.4%, 39.4%, 0%, 26.3%)
CIE-LABlab(48.83, 10.69, -42.48)
CIE-LCHlch(48.83, 43.80, 284.12°)
OKLaboklab(56.25% -0.0103 -0.1205)
OKLCHoklch(56.25% 0.121 265.1)
XYZxyz(18.5710, 17.4579, 49.9583)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272BC #BC9C52
analogous
#52A7BC #5272BC #6752BC
triadic
#5272BC #BC5272 #72BC52
tetradic
#5272BC #BC52A7 #BC9C52 #52BC67
square
#5272BC #BC52A7 #BC9C52 #52BC67
split-complementary
#5272BC #BC6752 #A7BC52
monochromatic
#293D6A #3A5697 #5272BC #7E96CD #AABADE

Accessibility & contrast

On white

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

On black

4.49
#5272BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5272BC#FFFFFF#000000##FFFFFF
##5272BC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#4670BA
Tritanopia (blue-blind)
#0A828E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5272bc;
/* rgb */ color: rgb(82, 114, 188);
/* oklch */ color: oklch(56.2% 0.121 265.1);
Tailwind
colors: {
  custom: {
    50: '#8a9ad0',
    500: '#5272bc',
    950: '#000000',
  },
}
SCSS
$custom: #5272bc;
$custom-light: #8a9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5272bc",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 221.887,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.1209,
    "h": 265.1
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5272BC

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

Preview Lab → · Contrast checker → · Palette generator →

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