#5277BF#5277BF

#5277BF is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.5% C 0.119 H 262.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5277BF
RGBrgb(82, 119, 191)
HSLhsl(220, 46%, 54%)
HSVhsv(220, 57%, 75%)
CMYKcmyk(57.1%, 37.7%, 0%, 25.1%)
CIE-LABlab(50.39, 8.62, -41.74)
CIE-LCHlch(50.39, 42.62, 281.66°)
OKLaboklab(57.51% -0.0153 -0.1182)
OKLCHoklch(57.51% 0.119 262.6)
XYZxyz(19.4772, 18.7475, 51.8723)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5277BF #BF9A52
analogous
#52ADBF #5277BF #6352BF
triadic
#5277BF #BF5277 #77BF52
tetradic
#5277BF #BF52AD #BF9A52 #52BF63
square
#5277BF #BF52AD #BF9A52 #52BF63
split-complementary
#5277BF #BF6352 #ADBF52
monochromatic
#29406E #395A9B #5277BF #7F9AD0 #ABBDE0

Accessibility & contrast

On white

4.42
#5277BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5277BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5277BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5277BF#FFFFFF#000000##000000
##5277BF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5277bf;
/* rgb */ color: rgb(82, 119, 191);
/* oklch */ color: oklch(57.5% 0.119 262.6);
Tailwind
colors: {
  custom: {
    50: '#8b9dd2',
    500: '#5277bf',
    950: '#000000',
  },
}
SCSS
$custom: #5277bf;
$custom-light: #8b9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5277bf",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 219.633,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.11923,
    "h": 262.6
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#5277BF
secondary
#CEBE9F
accent
#A952D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5277BF

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

Preview Lab → · Contrast checker → · Palette generator →

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