#5264DC#5264DC

#5264DC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.5% C 0.183 H 272.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5264DC
RGBrgb(82, 100, 220)
HSLhsl(232, 66%, 59%)
HSVhsv(232, 63%, 86%)
CMYKcmyk(62.7%, 54.5%, 0%, 13.7%)
CIE-LABlab(47.07, 30.18, -63.62)
CIE-LCHlch(47.07, 70.41, 295.38°)
OKLaboklab(55.54% 0.0082 -0.1827)
OKLCHoklch(55.54% 0.183 272.6)
XYZxyz(20.9508, 16.0737, 69.6947)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264DC #DCCA52
analogous
#52A9DC #5264DC #8552DC
triadic
#5264DC #DC5264 #64DC52
tetradic
#5264DC #DC52A9 #DCCA52 #52DC85
square
#5264DC #DC52A9 #DCCA52 #52DC85
split-complementary
#5264DC #DC8552 #A9DC52
monochromatic
#1E2E95 #293DC8 #5264DC #8592E6 #B8BFF1

Accessibility & contrast

On white

4.98
#5264DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5264DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264DC#FFFFFF#000000##FFFFFF
##5264DC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5264dc;
/* rgb */ color: rgb(82, 100, 220);
/* oklch */ color: oklch(55.5% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#9090e8',
    500: '#5264dc',
    950: '#000000',
  },
}
SCSS
$custom: #5264dc;
$custom-light: #9090e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5264dc",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 232.174,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.18291,
    "h": 272.6
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#5264DC
secondary
#E0D9AA
accent
#D33FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5264DC

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

Preview Lab → · Contrast checker → · Palette generator →

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