#5266D2#5266D2

#5266D2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.167 H 272.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5266D2
RGBrgb(82, 102, 210)
HSLhsl(231, 59%, 57%)
HSVhsv(231, 61%, 82%)
CMYKcmyk(61%, 51.4%, 0%, 17.6%)
CIE-LABlab(46.91, 25.55, -58.19)
CIE-LCHlch(46.91, 63.55, 293.71°)
OKLaboklab(55.2% 0.0057 -0.1667)
OKLCHoklch(55.2% 0.167 272)
XYZxyz(19.8600, 15.9481, 62.9920)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266D2 #D2BE52
analogous
#52A6D2 #5266D2 #7E52D2
triadic
#5266D2 #D25266 #66D252
tetradic
#5266D2 #D252A6 #D2BE52 #52D27E
square
#5266D2 #D252A6 #D2BE52 #52D27E
split-complementary
#5266D2 #D27E52 #A6D252
monochromatic
#233387 #3045B7 #5266D2 #8391DF #B3BCEB

Accessibility & contrast

On white

5.01
#5266D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5266D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266D2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266D2#FFFFFF#000000##FFFFFF
##5266D21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5266d2;
/* rgb */ color: rgb(82, 102, 210);
/* oklch */ color: oklch(55.2% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#8e91e0',
    500: '#5266d2',
    950: '#000000',
  },
}
SCSS
$custom: #5266d2;
$custom-light: #8e91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5266d2",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 230.625,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.16683,
    "h": 272
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#5266D2
secondary
#DAD2A6
accent
#CA46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5266D2

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

Preview Lab → · Contrast checker → · Palette generator →

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