#5276E9#5276E9

#5276E9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.178 H 267.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5276E9
RGBrgb(82, 118, 233)
HSLhsl(226, 77%, 62%)
HSVhsv(226, 65%, 91%)
CMYKcmyk(64.8%, 49.4%, 0%, 8.6%)
CIE-LABlab(52.54, 23.46, -62.11)
CIE-LCHlch(52.54, 66.39, 290.69°)
OKLaboklab(59.94% -0.0072 -0.1781)
OKLCHoklch(59.94% 0.178 267.7)
XYZxyz(24.6610, 20.6316, 79.7577)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5276E9 #E9C552
analogous
#52C2E9 #5276E9 #7A52E9
triadic
#5276E9 #E95276 #76E952
tetradic
#5276E9 #E952C2 #E9C552 #52E97A
square
#5276E9 #E952C2 #E9C552 #52E97A
split-complementary
#5276E9 #E97A52 #C2E952
monochromatic
#1639AB #1D4BE1 #5276E9 #88A1F0 #BFCCF7

Accessibility & contrast

On white

4.10
#5276E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5276E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5276E9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5276E9#FFFFFF#000000##000000
##5276E91.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685ED
Deuteranopia (green-blind)
#0477E7
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5276e9;
/* rgb */ color: rgb(82, 118, 233);
/* oklch */ color: oklch(59.9% 0.178 267.7);
Tailwind
colors: {
  custom: {
    50: '#919df1',
    500: '#5276e9',
    950: '#000000',
  },
}
SCSS
$custom: #5276e9;
$custom-light: #919df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5276e9",
  "rgb": {
    "r": 82,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 225.695,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.17821,
    "h": 267.7
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#5276E9
secondary
#E7DAAF
accent
#A90CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5276E9

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

Preview Lab → · Contrast checker → · Palette generator →

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