#5266DD#5266DD

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

Color values

HEX#5266DD
RGBrgb(82, 102, 221)
HSLhsl(231, 67%, 59%)
HSVhsv(231, 63%, 87%)
CMYKcmyk(62.9%, 53.8%, 0%, 13.3%)
CIE-LABlab(47.64, 29.27, -63.26)
CIE-LCHlch(47.64, 69.71, 294.83°)
OKLaboklab(55.99% 0.0064 -0.1816)
OKLCHoklch(55.99% 0.182 272)
XYZxyz(21.2778, 16.5152, 70.4590)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266DD #DDC952
analogous
#52ACDD #5266DD #8452DD
triadic
#5266DD #DD5266 #66DD52
tetradic
#5266DD #DD52AC #DDC952 #52DD84
square
#5266DD #DD52AC #DDC952 #52DD84
split-complementary
#5266DD #DD8452 #ACDD52
monochromatic
#1E2F97 #283FCA #5266DD #8593E7 #B8C0F1

Accessibility & contrast

On white

4.88
#5266DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5266DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266DD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266DD#FFFFFF#000000##FFFFFF
##5266DD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E1
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5266dd;
/* rgb */ color: rgb(82, 102, 221);
/* oklch */ color: oklch(56.0% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#9091e8',
    500: '#5266dd',
    950: '#000000',
  },
}
SCSS
$custom: #5266dd;
$custom-light: #9091e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5266dd",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 231.367,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.18176,
    "h": 272
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#5266DD
secondary
#E0D9AA
accent
#D13EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5266DD

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

Preview Lab → · Contrast checker → · Palette generator →

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