#5276E4#5276E4

#5276E4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.171 H 267.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5276E4
RGBrgb(82, 118, 228)
HSLhsl(225, 73%, 61%)
HSVhsv(225, 64%, 89%)
CMYKcmyk(64%, 48.2%, 0%, 10.6%)
CIE-LABlab(52.23, 21.74, -59.81)
CIE-LCHlch(52.23, 63.64, 289.98°)
OKLaboklab(59.6% -0.0078 -0.1713)
OKLCHoklch(59.6% 0.171 267.4)
XYZxyz(23.9569, 20.3500, 76.0492)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276E4 #E4C052
analogous
#52BFE4 #5276E4 #7752E4
triadic
#5276E4 #E45276 #76E452
tetradic
#5276E4 #E452BF #E4C052 #52E477
square
#5276E4 #E452BF #E4C052 #52E477
split-complementary
#5276E4 #E47752 #BFE452
monochromatic
#193BA2 #224ED7 #5276E4 #87A0EC #BCCAF5

Accessibility & contrast

On white

4.14
#5276E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5276E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276E4#FFFFFF#000000##000000
##5276E41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#1A76E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5276e4;
/* rgb */ color: rgb(82, 118, 228);
/* oklch */ color: oklch(59.6% 0.171 267.4);
Tailwind
colors: {
  custom: {
    50: '#909ded',
    500: '#5276e4',
    950: '#000000',
  },
}
SCSS
$custom: #5276e4;
$custom-light: #909ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5276e4",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 225.205,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.17147,
    "h": 267.4
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#5276E4
secondary
#E5D7AD
accent
#A510D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5276E4

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

Preview Lab → · Contrast checker → · Palette generator →

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