#5264CC#5264CC

#5264CC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.161 H 272.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5264CC
RGBrgb(82, 100, 204)
HSLhsl(231, 54%, 56%)
HSVhsv(231, 60%, 80%)
CMYKcmyk(59.8%, 51%, 0%, 20%)
CIE-LABlab(46.00, 24.78, -56.22)
CIE-LCHlch(46.00, 61.44, 293.78°)
OKLaboklab(54.39% 0.0072 -0.161)
OKLCHoklch(54.39% 0.161 272.5)
XYZxyz(18.9323, 15.2663, 59.0640)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264CC #CCBA52
analogous
#52A1CC #5264CC #7D52CC
triadic
#5264CC #CC5264 #64CC52
tetradic
#5264CC #CC52A1 #CCBA52 #52CC7D
square
#5264CC #CC52A1 #CCBA52 #52CC7D
split-complementary
#5264CC #CC7D52 #A1CC52
monochromatic
#25327E #3345AE #5264CC #818EDA #B1B9E8

Accessibility & contrast

On white

5.18
#5264CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5264CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264CC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264CC#FFFFFF#000000##FFFFFF
##5264CC1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72D0
Deuteranopia (green-blind)
#0A68CA
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5264cc;
/* rgb */ color: rgb(82, 100, 204);
/* oklch */ color: oklch(54.4% 0.161 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d8fdc',
    500: '#5264cc',
    950: '#000000',
  },
}
SCSS
$custom: #5264cc;
$custom-light: #8d8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5264cc",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 231.148,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.16112,
    "h": 272.5
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#5264CC
secondary
#D6CFA4
accent
#C84ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264CC

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

Preview Lab → · Contrast checker → · Palette generator →

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