#5264CE#5264CE

#5264CE is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.164 H 272.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5264CE
RGBrgb(82, 100, 206)
HSLhsl(231, 56%, 56%)
HSVhsv(231, 60%, 81%)
CMYKcmyk(60.2%, 51.5%, 0%, 19.2%)
CIE-LABlab(46.13, 25.45, -57.16)
CIE-LCHlch(46.13, 62.57, 294.00°)
OKLaboklab(54.53% 0.0073 -0.1637)
OKLCHoklch(54.53% 0.164 272.6)
XYZxyz(19.1737, 15.3629, 60.3355)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264CE #CEBC52
analogous
#52A2CE #5264CE #7E52CE
triadic
#5264CE #CE5264 #64CE52
tetradic
#5264CE #CE52A2 #CEBC52 #52CE7E
square
#5264CE #CE52A2 #CEBC52 #52CE7E
split-complementary
#5264CE #CE7E52 #A2CE52
monochromatic
#253281 #3244B1 #5264CE #828FDC #B1B9E9

Accessibility & contrast

On white

5.16
#5264CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5264CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264CE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264CE#FFFFFF#000000##FFFFFF
##5264CE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5264ce;
/* rgb */ color: rgb(82, 100, 206);
/* oklch */ color: oklch(54.5% 0.164 272.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fde',
    500: '#5264ce',
    950: '#000000',
  },
}
SCSS
$custom: #5264ce;
$custom-light: #8e8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5264ce",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 231.29,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.16388,
    "h": 272.6
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#5264CE
secondary
#D7D0A4
accent
#C949DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264CE

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

Preview Lab → · Contrast checker → · Palette generator →

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