#5276E7#5276E7

#5276E7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.8% C 0.176 H 267.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5276E7
RGBrgb(82, 118, 231)
HSLhsl(226, 76%, 61%)
HSVhsv(226, 65%, 91%)
CMYKcmyk(64.5%, 48.9%, 0%, 9.4%)
CIE-LABlab(52.42, 22.77, -61.19)
CIE-LCHlch(52.42, 65.29, 290.41°)
OKLaboklab(59.81% -0.0074 -0.1754)
OKLCHoklch(59.81% 0.176 267.6)
XYZxyz(24.3770, 20.5180, 78.2615)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276E7 #E7C352
analogous
#52C1E7 #5276E7 #7952E7
triadic
#5276E7 #E75276 #76E752
tetradic
#5276E7 #E752C1 #E7C352 #52E779
square
#5276E7 #E752C1 #E7C352 #52E779
split-complementary
#5276E7 #E77952 #C1E752
monochromatic
#173AA7 #1F4DDD #5276E7 #88A1EE #BDCBF6

Accessibility & contrast

On white

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

On black

5.10
#5276E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276E7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276E7#FFFFFF#000000##000000
##5276E71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#0F77E5
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5276e7;
/* rgb */ color: rgb(82, 118, 231);
/* oklch */ color: oklch(59.8% 0.176 267.6);
Tailwind
colors: {
  custom: {
    50: '#919def',
    500: '#5276e7',
    950: '#000000',
  },
}
SCSS
$custom: #5276e7;
$custom-light: #919def;
$custom-dark: #000000;
JSON
{
  "hex": "#5276e7",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 225.503,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.17552,
    "h": 267.6
  },
  "luminance": 0.2052
}

Semantic roles & 50–950 ramp

primary
#5276E7
secondary
#E6D9AF
accent
#A70ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5276E7

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

Preview Lab → · Contrast checker → · Palette generator →

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