#5264CD#5264CD

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

Color values

HEX#5264CD
RGBrgb(82, 100, 205)
HSLhsl(231, 55%, 56%)
HSVhsv(231, 60%, 80%)
CMYKcmyk(60%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.06, 25.12, -56.69)
CIE-LCHlch(46.06, 62.00, 293.89°)
OKLaboklab(54.46% 0.0072 -0.1623)
OKLCHoklch(54.46% 0.163 272.6)
XYZxyz(19.0526, 15.3144, 59.6977)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264CD #CDBB52
analogous
#52A2CD #5264CD #7E52CD
triadic
#5264CD #CD5264 #64CD52
tetradic
#5264CD #CD52A2 #CDBB52 #52CD7E
square
#5264CD #CD52A2 #CDBB52 #52CD7E
split-complementary
#5264CD #CD7E52 #A2CD52
monochromatic
#253280 #3345AF #5264CD #818FDB #B1B9E8

Accessibility & contrast

On white

5.17
#5264CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5264CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264CD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264CD#FFFFFF#000000##FFFFFF
##5264CD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#0568CB
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5264cd;
/* rgb */ color: rgb(82, 100, 205);
/* oklch */ color: oklch(54.5% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d8fdd',
    500: '#5264cd',
    950: '#000000',
  },
}
SCSS
$custom: #5264cd;
$custom-light: #8d8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5264cd",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 231.22,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.1625,
    "h": 272.6
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#5264CD
secondary
#D7CFA4
accent
#C949DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264CD

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

Preview Lab → · Contrast checker → · Palette generator →

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