#5276EB#5276EB

#5276EB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.181 H 267.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5276EB
RGBrgb(82, 118, 235)
HSLhsl(226, 79%, 62%)
HSVhsv(226, 65%, 92%)
CMYKcmyk(65.1%, 49.8%, 0%, 7.8%)
CIE-LABlab(52.67, 24.14, -63.02)
CIE-LCHlch(52.67, 67.49, 290.96°)
OKLaboklab(60.08% -0.007 -0.1807)
OKLCHoklch(60.08% 0.181 267.8)
XYZxyz(24.9484, 20.7465, 81.2709)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276EB #EBC752
analogous
#52C3EB #5276EB #7A52EB
triadic
#5276EB #EB5276 #76EB52
tetradic
#5276EB #EB52C3 #EBC752 #52EB7A
square
#5276EB #EB52C3 #EBC752 #52EB7A
split-complementary
#5276EB #EB7A52 #C3EB52
monochromatic
#1438AE #1B4BE5 #5276EB #89A1F1 #C0CDF8

Accessibility & contrast

On white

4.08
#5276EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5276EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276EB#FFFFFF#000000##000000
##5276EB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5276eb;
/* rgb */ color: rgb(82, 118, 235);
/* oklch */ color: oklch(60.1% 0.181 267.8);
Tailwind
colors: {
  custom: {
    50: '#929df2',
    500: '#5276eb',
    950: '#000000',
  },
}
SCSS
$custom: #5276eb;
$custom-light: #929df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5276eb",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 225.882,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.18089,
    "h": 267.8
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#5276EB
secondary
#E8DBB0
accent
#AA0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5276EB

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

Preview Lab → · Contrast checker → · Palette generator →

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