#5264D7#5264D7

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

Color values

HEX#5264D7
RGBrgb(82, 100, 215)
HSLhsl(232, 62%, 58%)
HSVhsv(232, 62%, 84%)
CMYKcmyk(61.9%, 53.5%, 0%, 15.7%)
CIE-LABlab(46.73, 28.49, -61.33)
CIE-LCHlch(46.73, 67.62, 294.91°)
OKLaboklab(55.17% 0.008 -0.176)
OKLCHoklch(55.17% 0.176 272.6)
XYZxyz(20.2985, 15.8128, 66.2593)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264D7 #D7C552
analogous
#52A6D7 #5264D7 #8252D7
triadic
#5264D7 #D75264 #64D752
tetradic
#5264D7 #D752A6 #D7C552 #52D782
square
#5264D7 #D752A6 #D7C552 #52D782
split-complementary
#5264D7 #D78252 #A6D752
monochromatic
#21308E #2C40C0 #5264D7 #8491E2 #B5BDEE

Accessibility & contrast

On white

5.04
#5264D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5264D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264D7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264D7#FFFFFF#000000##FFFFFF
##5264D71.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1675DB
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5264d7;
/* rgb */ color: rgb(82, 100, 215);
/* oklch */ color: oklch(55.2% 0.176 272.6);
Tailwind
colors: {
  custom: {
    50: '#8f8fe4',
    500: '#5264d7',
    950: '#000000',
  },
}
SCSS
$custom: #5264d7;
$custom-light: #8f8fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5264d7",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 231.88,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.17618,
    "h": 272.6
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5264D7

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

Preview Lab → · Contrast checker → · Palette generator →

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