#5276BF#5276BF

#5276BF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.3% C 0.120 H 263.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5276BF
RGBrgb(82, 118, 191)
HSLhsl(220, 46%, 54%)
HSVhsv(220, 57%, 75%)
CMYKcmyk(57.1%, 38.2%, 0%, 25.1%)
CIE-LABlab(50.11, 9.23, -42.18)
CIE-LCHlch(50.11, 43.18, 282.34°)
OKLaboklab(57.29% -0.0142 -0.1195)
OKLCHoklch(57.29% 0.12 263.2)
XYZxyz(19.3589, 18.5107, 51.8329)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276BF #BF9B52
analogous
#52ADBF #5276BF #6452BF
triadic
#5276BF #BF5276 #76BF52
tetradic
#5276BF #BF52AD #BF9B52 #52BF64
square
#5276BF #BF52AD #BF9B52 #52BF64
split-complementary
#5276BF #BF6452 #ADBF52
monochromatic
#29406E #39599B #5276BF #7F99D0 #ABBDE0

Accessibility & contrast

On white

4.47
#5276BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5276BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276BF#FFFFFF#000000##000000
##5276BF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#4A73BD
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5276bf;
/* rgb */ color: rgb(82, 118, 191);
/* oklch */ color: oklch(57.3% 0.120 263.2);
Tailwind
colors: {
  custom: {
    50: '#8b9dd2',
    500: '#5276bf',
    950: '#000000',
  },
}
SCSS
$custom: #5276bf;
$custom-light: #8b9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5276bf",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 220.183,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.12039,
    "h": 263.2
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5276BF

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

Preview Lab → · Contrast checker → · Palette generator →

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