#5276DC#5276DC

#5276DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.1% C 0.161 H 266.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5276DC
RGBrgb(82, 118, 220)
HSLhsl(224, 66%, 59%)
HSVhsv(224, 63%, 86%)
CMYKcmyk(62.7%, 46.4%, 0%, 13.7%)
CIE-LABlab(51.74, 19.01, -56.09)
CIE-LCHlch(51.74, 59.22, 288.72°)
OKLaboklab(59.07% -0.0088 -0.1604)
OKLCHoklch(59.07% 0.161 266.8)
XYZxyz(22.8719, 19.9160, 70.3351)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276DC #DCB852
analogous
#52BBDC #5276DC #7352DC
triadic
#5276DC #DC5276 #76DC52
tetradic
#5276DC #DC52BB #DCB852 #52DC73
square
#5276DC #DC52BB #DCB852 #52DC73
split-complementary
#5276DC #DC7352 #BBDC52
monochromatic
#1E3D95 #2952C8 #5276DC #859EE6 #B8C7F1

Accessibility & contrast

On white

4.21
#5276DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5276DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276DC#FFFFFF#000000##000000
##5276DC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#2B75DA
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5276dc;
/* rgb */ color: rgb(82, 118, 220);
/* oklch */ color: oklch(59.1% 0.161 266.8);
Tailwind
colors: {
  custom: {
    50: '#8f9de7',
    500: '#5276dc',
    950: '#000000',
  },
}
SCSS
$custom: #5276dc;
$custom-light: #8f9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5276dc",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 224.348,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.1606,
    "h": 266.8
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#5276DC
secondary
#E0D2AA
accent
#BD3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5276DC

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

Preview Lab → · Contrast checker → · Palette generator →

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