#5276EF#5276EF

#5276EF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.186 H 268.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5276EF
RGBrgb(82, 118, 239)
HSLhsl(226, 83%, 63%)
HSVhsv(226, 66%, 94%)
CMYKcmyk(65.7%, 50.6%, 0%, 6.3%)
CIE-LABlab(52.93, 25.52, -64.84)
CIE-LCHlch(52.93, 69.68, 291.48°)
OKLaboklab(60.36% -0.0066 -0.1861)
OKLCHoklch(60.36% 0.186 268)
XYZxyz(25.5327, 20.9803, 84.3486)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276EF #EFCB52
analogous
#52C4EF #5276EF #7C52EF
triadic
#5276EF #EF5276 #76EF52
tetradic
#5276EF #EF52C4 #EFCB52 #52EF7C
square
#5276EF #EF52C4 #EFCB52 #52EF7C
split-complementary
#5276EF #EF7C52 #C4EF52
monochromatic
#1137B6 #1A4AEA #5276EF #8AA2F4 #C2CFF9

Accessibility & contrast

On white

4.04
#5276EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5276EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276EF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276EF#FFFFFF#000000##000000
##5276EF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5276ef;
/* rgb */ color: rgb(82, 118, 239);
/* oklch */ color: oklch(60.4% 0.186 268.0);
Tailwind
colors: {
  custom: {
    50: '#929df5',
    500: '#5276ef',
    950: '#000000',
  },
}
SCSS
$custom: #5276ef;
$custom-light: #929df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5276ef",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 226.242,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.18622,
    "h": 268
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#5276EF
secondary
#EBDEB2
accent
#AE06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5276EF

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

Preview Lab → · Contrast checker → · Palette generator →

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