#5266E9#5266E9

#5266E9 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.9% C 0.198 H 272.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5266E9
RGBrgb(82, 102, 233)
HSLhsl(232, 77%, 62%)
HSVhsv(232, 65%, 91%)
CMYKcmyk(64.8%, 56.2%, 0%, 8.6%)
CIE-LABlab(48.48, 33.34, -68.68)
CIE-LCHlch(48.48, 76.34, 295.89°)
OKLaboklab(56.88% 0.0069 -0.1976)
OKLCHoklch(56.88% 0.198 272)
XYZxyz(22.9341, 17.1777, 79.1820)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266E9 #E9D552
analogous
#52B2E9 #5266E9 #8A52E9
triadic
#5266E9 #E95266 #66E952
tetradic
#5266E9 #E952B2 #E9D552 #52E98A
square
#5266E9 #E952B2 #E9D552 #52E98A
split-complementary
#5266E9 #E98A52 #B2E952
monochromatic
#1629AB #1D37E1 #5266E9 #8896F0 #BFC6F7

Accessibility & contrast

On white

4.73
#5266E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5266E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266E9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266E9#FFFFFF#000000##FFFFFF
##5266E91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5266e9;
/* rgb */ color: rgb(82, 102, 233);
/* oklch */ color: oklch(56.9% 0.198 272.0);
Tailwind
colors: {
  custom: {
    50: '#9291f1',
    500: '#5266e9',
    950: '#000000',
  },
}
SCSS
$custom: #5266e9;
$custom-light: #9291f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5266e9",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 232.053,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.1977,
    "h": 272
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#5266E9
secondary
#E7E0AF
accent
#BE0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5266E9

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

Preview Lab → · Contrast checker → · Palette generator →

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