#5264CB#5264CB

#5264CB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.160 H 272.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5264CB
RGBrgb(82, 100, 203)
HSLhsl(231, 54%, 56%)
HSVhsv(231, 60%, 80%)
CMYKcmyk(59.6%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.93, 24.44, -55.75)
CIE-LCHlch(45.93, 60.87, 293.67°)
OKLaboklab(54.32% 0.0071 -0.1596)
OKLCHoklch(54.32% 0.16 272.5)
XYZxyz(18.8128, 15.2185, 58.4344)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264CB #CBB952
analogous
#52A1CB #5264CB #7C52CB
triadic
#5264CB #CB5264 #64CB52
tetradic
#5264CB #CB52A1 #CBB952 #52CB7C
square
#5264CB #CB52A1 #CBB952 #52CB7C
split-complementary
#5264CB #CB7C52 #A1CB52
monochromatic
#26337D #3446AC #5264CB #818ED9 #B0B8E7

Accessibility & contrast

On white

5.19
#5264CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5264CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264CB#FFFFFF#000000##FFFFFF
##5264CB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5264cb;
/* rgb */ color: rgb(82, 100, 203);
/* oklch */ color: oklch(54.3% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d8fdb',
    500: '#5264cb',
    950: '#000000',
  },
}
SCSS
$custom: #5264cb;
$custom-light: #8d8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5264cb",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 231.074,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.15974,
    "h": 272.5
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#5264CB
secondary
#D5CEA3
accent
#C74BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264CB

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

Preview Lab → · Contrast checker → · Palette generator →

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