#5264D8#5264D8

#5264D8 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.178 H 272.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5264D8
RGBrgb(82, 100, 216)
HSLhsl(232, 63%, 58%)
HSVhsv(232, 62%, 85%)
CMYKcmyk(62%, 53.7%, 0%, 15.3%)
CIE-LABlab(46.80, 28.83, -61.79)
CIE-LCHlch(46.80, 68.18, 295.01°)
OKLaboklab(55.24% 0.008 -0.1773)
OKLCHoklch(55.24% 0.178 272.6)
XYZxyz(20.4274, 15.8643, 66.9381)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264D8 #D8C652
analogous
#52A7D8 #5264D8 #8352D8
triadic
#5264D8 #D85264 #64D852
tetradic
#5264D8 #D852A7 #D8C652 #52D883
square
#5264D8 #D852A7 #D8C652 #52D883
split-complementary
#5264D8 #D88352 #A7D852
monochromatic
#202F8F #2C40C1 #5264D8 #8491E3 #B6BDEF

Accessibility & contrast

On white

5.03
#5264D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5264D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264D8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264D8#FFFFFF#000000##FFFFFF
##5264D81.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1375DC
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5264d8;
/* rgb */ color: rgb(82, 100, 216);
/* oklch */ color: oklch(55.2% 0.178 272.6);
Tailwind
colors: {
  custom: {
    50: '#8f8fe5',
    500: '#5264d8',
    950: '#000000',
  },
}
SCSS
$custom: #5264d8;
$custom-light: #8f8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#5264d8",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 231.94,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.17753,
    "h": 272.6
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#5264D8
secondary
#DDD6A8
accent
#D042E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5264D8

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

Preview Lab → · Contrast checker → · Palette generator →

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