#5276E5#5276E5

#5276E5 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.173 H 267.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5276E5
RGBrgb(82, 118, 229)
HSLhsl(225, 74%, 61%)
HSVhsv(225, 64%, 90%)
CMYKcmyk(64.2%, 48.5%, 0%, 10.2%)
CIE-LABlab(52.29, 22.09, -60.27)
CIE-LCHlch(52.29, 64.19, 290.12°)
OKLaboklab(59.67% -0.0077 -0.1726)
OKLCHoklch(59.67% 0.173 267.5)
XYZxyz(24.0961, 20.4056, 76.7824)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276E5 #E5C152
analogous
#52BFE5 #5276E5 #7752E5
triadic
#5276E5 #E55276 #76E552
tetradic
#5276E5 #E552BF #E5C152 #52E577
square
#5276E5 #E552BF #E5C152 #52E577
split-complementary
#5276E5 #E57752 #BFE552
monochromatic
#193BA4 #214ED9 #5276E5 #87A0ED #BCCAF5

Accessibility & contrast

On white

4.13
#5276E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5276E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276E5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276E5#FFFFFF#000000##000000
##5276E51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84E9
Deuteranopia (green-blind)
#1676E3
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5276e5;
/* rgb */ color: rgb(82, 118, 229);
/* oklch */ color: oklch(59.7% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#919dee',
    500: '#5276e5',
    950: '#000000',
  },
}
SCSS
$custom: #5276e5;
$custom-light: #919dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5276e5",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 225.306,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.17282,
    "h": 267.5
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#5276E5
secondary
#E5D8AE
accent
#A510D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5276E5

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

Preview Lab → · Contrast checker → · Palette generator →

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