#5277BC#5277BC

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

Color values

HEX#5277BC
RGBrgb(82, 119, 188)
HSLhsl(219, 44%, 53%)
HSVhsv(219, 56%, 74%)
CMYKcmyk(56.4%, 36.7%, 0%, 26.3%)
CIE-LABlab(50.24, 7.62, -40.26)
CIE-LCHlch(50.24, 40.97, 280.72°)
OKLaboklab(57.34% -0.016 -0.1139)
OKLCHoklch(57.34% 0.115 262)
XYZxyz(19.1505, 18.6168, 50.1514)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277BC #BC9752
analogous
#52ACBC #5277BC #6252BC
triadic
#5277BC #BC5277 #77BC52
tetradic
#5277BC #BC52AC #BC9752 #52BC62
square
#5277BC #BC52AC #BC9752 #52BC62
split-complementary
#5277BC #BC6252 #ACBC52
monochromatic
#29406A #3A5A97 #5277BC #7E9ACD #AABCDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5277BC#FFFFFF#000000##000000
##5277BC1.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)
#5B7DBF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#068690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5277bc;
/* rgb */ color: rgb(82, 119, 188);
/* oklch */ color: oklch(57.3% 0.115 262.0);
Tailwind
colors: {
  custom: {
    50: '#8a9dd0',
    500: '#5277bc',
    950: '#000000',
  },
}
SCSS
$custom: #5277bc;
$custom-light: #8a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5277bc",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 219.057,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.11504,
    "h": 262
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#5277BC
secondary
#CCBC9E
accent
#A754D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5277BC

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

Preview Lab → · Contrast checker → · Palette generator →

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