#5276ED#5276ED

#5276ED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.184 H 267.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5276ED
RGBrgb(82, 118, 237)
HSLhsl(226, 81%, 63%)
HSVhsv(226, 65%, 93%)
CMYKcmyk(65.4%, 50.2%, 0%, 7.1%)
CIE-LABlab(52.80, 24.83, -63.93)
CIE-LCHlch(52.80, 68.59, 291.22°)
OKLaboklab(60.22% -0.0068 -0.1834)
OKLCHoklch(60.22% 0.184 267.9)
XYZxyz(25.2389, 20.8628, 82.8012)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276ED #EDC952
analogous
#52C3ED #5276ED #7C52ED
triadic
#5276ED #ED5276 #76ED52
tetradic
#5276ED #ED52C3 #EDC952 #52ED7C
square
#5276ED #ED52C3 #EDC952 #52ED7C
split-complementary
#5276ED #ED7C52 #C3ED52
monochromatic
#1338B2 #1B4AE7 #5276ED #89A2F3 #C1CEF9

Accessibility & contrast

On white

4.06
#5276ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5276ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276ED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276ED#FFFFFF#000000##000000
##5276ED1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F1
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5276ed;
/* rgb */ color: rgb(82, 118, 237);
/* oklch */ color: oklch(60.2% 0.184 267.9);
Tailwind
colors: {
  custom: {
    50: '#929df4',
    500: '#5276ed',
    950: '#000000',
  },
}
SCSS
$custom: #5276ed;
$custom-light: #929df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5276ed",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 226.065,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.18356,
    "h": 267.9
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#5276ED
secondary
#EADCB1
accent
#AC08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5276ED

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

Preview Lab → · Contrast checker → · Palette generator →

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