#5266CE#5266CE

#5266CE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.161 H 271.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5266CE
RGBrgb(82, 102, 206)
HSLhsl(230, 56%, 56%)
HSVhsv(230, 60%, 81%)
CMYKcmyk(60.2%, 50.5%, 0%, 19.2%)
CIE-LABlab(46.65, 24.20, -56.32)
CIE-LCHlch(46.65, 61.30, 293.25°)
OKLaboklab(54.92% 0.0053 -0.1612)
OKLCHoklch(54.92% 0.161 271.9)
XYZxyz(19.3679, 15.7512, 60.4002)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266CE #CEBA52
analogous
#52A4CE #5266CE #7C52CE
triadic
#5266CE #CE5266 #66CE52
tetradic
#5266CE #CE52A4 #CEBA52 #52CE7C
square
#5266CE #CE52A4 #CEBA52 #52CE7C
split-complementary
#5266CE #CE7C52 #A4CE52
monochromatic
#253381 #3246B1 #5266CE #8290DC #B1BAE9

Accessibility & contrast

On white

5.06
#5266CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5266CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266CE#FFFFFF#000000##FFFFFF
##5266CE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#0F69CC
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5266ce;
/* rgb */ color: rgb(82, 102, 206);
/* oklch */ color: oklch(54.9% 0.161 271.9);
Tailwind
colors: {
  custom: {
    50: '#8d91de',
    500: '#5266ce',
    950: '#000000',
  },
}
SCSS
$custom: #5266ce;
$custom-light: #8d91de;
$custom-dark: #000000;
JSON
{
  "hex": "#5266ce",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 230.323,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.16132,
    "h": 271.9
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#5266CE
secondary
#D7CFA4
accent
#C749DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5266CE

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

Preview Lab → · Contrast checker → · Palette generator →

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