#5266DC#5266DC

#5266DC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.180 H 272.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5266DC
RGBrgb(82, 102, 220)
HSLhsl(231, 66%, 59%)
HSVhsv(231, 63%, 86%)
CMYKcmyk(62.7%, 53.6%, 0%, 13.7%)
CIE-LABlab(47.58, 28.94, -62.80)
CIE-LCHlch(47.58, 69.15, 294.74°)
OKLaboklab(55.92% 0.0064 -0.1803)
OKLCHoklch(55.92% 0.18 272)
XYZxyz(21.1450, 16.4621, 69.7595)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266DC #DCC852
analogous
#52ABDC #5266DC #8352DC
triadic
#5266DC #DC5266 #66DC52
tetradic
#5266DC #DC52AB #DCC852 #52DC83
square
#5266DC #DC52AB #DCC852 #52DC83
split-complementary
#5266DC #DC8352 #ABDC52
monochromatic
#1E2F95 #2940C8 #5266DC #8593E6 #B8C0F1

Accessibility & contrast

On white

4.89
#5266DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5266DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266DC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266DC#FFFFFF#000000##FFFFFF
##5266DC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5266dc;
/* rgb */ color: rgb(82, 102, 220);
/* oklch */ color: oklch(55.9% 0.180 272.0);
Tailwind
colors: {
  custom: {
    50: '#9091e8',
    500: '#5266dc',
    950: '#000000',
  },
}
SCSS
$custom: #5266dc;
$custom-light: #9091e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5266dc",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 231.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.18042,
    "h": 272
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#5266DC
secondary
#E0D8AA
accent
#D13FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5266DC

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

Preview Lab → · Contrast checker → · Palette generator →

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