#5276BB#5276BB

#5276BB is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.1% C 0.115 H 262.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5276BB
RGBrgb(82, 118, 187)
HSLhsl(219, 44%, 53%)
HSVhsv(219, 56%, 73%)
CMYKcmyk(56.1%, 36.9%, 0%, 26.7%)
CIE-LABlab(49.90, 7.90, -40.21)
CIE-LCHlch(49.90, 40.98, 281.12°)
OKLaboklab(57.06% -0.0151 -0.1138)
OKLCHoklch(57.06% 0.115 262.4)
XYZxyz(18.9247, 18.3371, 49.5462)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276BB #BB9752
analogous
#52AABB #5276BB #6352BB
triadic
#5276BB #BB5276 #76BB52
tetradic
#5276BB #BB52AA #BB9752 #52BB63
square
#5276BB #BB52AA #BB9752 #52BB63
split-complementary
#5276BB #BB6352 #AABB52
monochromatic
#293F69 #3B5A95 #5276BB #7E99CC #AABCDE

Accessibility & contrast

On white

4.50
#5276BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5276BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276BB#FFFFFF#000000##000000
##5276BB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#0B858F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5276bb;
/* rgb */ color: rgb(82, 118, 187);
/* oklch */ color: oklch(57.1% 0.115 262.4);
Tailwind
colors: {
  custom: {
    50: '#8a9dd0',
    500: '#5276bb',
    950: '#000000',
  },
}
SCSS
$custom: #5276bb;
$custom-light: #8a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5276bb",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 219.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5706,
    "c": 0.11479,
    "h": 262.4
  },
  "luminance": 0.18339
}

Semantic roles & 50–950 ramp

primary
#5276BB
secondary
#CBBC9E
accent
#A854D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5276BB

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

Preview Lab → · Contrast checker → · Palette generator →

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