#5276E8#5276E8

#5276E8 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.177 H 267.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5276E8
RGBrgb(82, 118, 232)
HSLhsl(226, 77%, 62%)
HSVhsv(226, 65%, 91%)
CMYKcmyk(64.7%, 49.1%, 0%, 9%)
CIE-LABlab(52.48, 23.11, -61.65)
CIE-LCHlch(52.48, 65.84, 290.55°)
OKLaboklab(59.87% -0.0073 -0.1767)
OKLCHoklch(59.87% 0.177 267.6)
XYZxyz(24.5186, 20.5746, 79.0075)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276E8 #E8C452
analogous
#52C1E8 #5276E8 #7952E8
triadic
#5276E8 #E85276 #76E852
tetradic
#5276E8 #E852C1 #E8C452 #52E879
square
#5276E8 #E852C1 #E8C452 #52E879
split-complementary
#5276E8 #E87952 #C1E852
monochromatic
#163AA9 #1E4CDF #5276E8 #88A1EF #BECCF6

Accessibility & contrast

On white

4.11
#5276E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5276E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276E8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276E8#FFFFFF#000000##000000
##5276E81.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EC
Deuteranopia (green-blind)
#0A77E6
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5276e8;
/* rgb */ color: rgb(82, 118, 232);
/* oklch */ color: oklch(59.9% 0.177 267.6);
Tailwind
colors: {
  custom: {
    50: '#919df0',
    500: '#5276e8',
    950: '#000000',
  },
}
SCSS
$custom: #5276e8;
$custom-light: #919df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5276e8",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 225.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.17686,
    "h": 267.6
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#5276E8
secondary
#E7D9AF
accent
#A80DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5276E8

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

Preview Lab → · Contrast checker → · Palette generator →

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