#5277BB#5277BB

#5277BB is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.114 H 261.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5277BB
RGBrgb(82, 119, 187)
HSLhsl(219, 44%, 53%)
HSVhsv(219, 56%, 73%)
CMYKcmyk(56.1%, 36.4%, 0%, 26.7%)
CIE-LABlab(50.18, 7.30, -39.76)
CIE-LCHlch(50.18, 40.42, 280.40°)
OKLaboklab(57.28% -0.0162 -0.1125)
OKLCHoklch(57.28% 0.114 261.8)
XYZxyz(19.0431, 18.5738, 49.5857)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277BB #BB9652
analogous
#52ABBB #5277BB #6152BB
triadic
#5277BB #BB5277 #77BB52
tetradic
#5277BB #BB52AB #BB9652 #52BB61
square
#5277BB #BB52AB #BB9652 #52BB61
split-complementary
#5277BB #BB6152 #ABBB52
monochromatic
#294069 #3B5B95 #5277BB #7E9ACC #AABCDE

Accessibility & contrast

On white

4.45
#5277BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5277BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277BB#FFFFFF#000000##000000
##5277BB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#0A8690
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5277bb;
/* rgb */ color: rgb(82, 119, 187);
/* oklch */ color: oklch(57.3% 0.114 261.8);
Tailwind
colors: {
  custom: {
    50: '#8a9dd0',
    500: '#5277bb',
    950: '#000000',
  },
}
SCSS
$custom: #5277bb;
$custom-light: #8a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5277bb",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 218.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.11364,
    "h": 261.8
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#5277BB
secondary
#CBBB9E
accent
#A754D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5277BB

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

Preview Lab → · Contrast checker → · Palette generator →

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