#5266E8#5266E8

#5266E8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.196 H 272.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5266E8
RGBrgb(82, 102, 232)
HSLhsl(232, 77%, 62%)
HSVhsv(232, 65%, 91%)
CMYKcmyk(64.7%, 56%, 0%, 9%)
CIE-LABlab(48.41, 33.00, -68.23)
CIE-LCHlch(48.41, 75.79, 295.81°)
OKLaboklab(56.81% 0.0069 -0.1963)
OKLCHoklch(56.81% 0.196 272)
XYZxyz(22.7916, 17.1207, 78.4318)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266E8 #E8D452
analogous
#52B1E8 #5266E8 #8952E8
triadic
#5266E8 #E85266 #66E852
tetradic
#5266E8 #E852B1 #E8D452 #52E889
square
#5266E8 #E852B1 #E8D452 #52E889
split-complementary
#5266E8 #E88952 #B1E852
monochromatic
#162AA9 #1E37DF #5266E8 #8896EF #BEC6F6

Accessibility & contrast

On white

4.75
#5266E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5266E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266E8#FFFFFF#000000##FFFFFF
##5266E81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5266e8;
/* rgb */ color: rgb(82, 102, 232);
/* oklch */ color: oklch(56.8% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#9291f0',
    500: '#5266e8',
    950: '#000000',
  },
}
SCSS
$custom: #5266e8;
$custom-light: #9291f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5266e8",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 232,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.19639,
    "h": 272
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#5266E8
secondary
#E7DFAF
accent
#BE0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5266E8

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

Preview Lab → · Contrast checker → · Palette generator →

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