#5264D4#5264D4

#5264D4 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.172 H 272.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5264D4
RGBrgb(82, 100, 212)
HSLhsl(232, 60%, 58%)
HSVhsv(232, 61%, 83%)
CMYKcmyk(61.3%, 52.8%, 0%, 16.9%)
CIE-LABlab(46.53, 27.48, -59.95)
CIE-LCHlch(46.53, 65.94, 294.62°)
OKLaboklab(54.95% 0.0078 -0.1719)
OKLCHoklch(54.95% 0.172 272.6)
XYZxyz(19.9166, 15.6600, 64.2477)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264D4 #D4C252
analogous
#52A5D4 #5264D4 #8152D4
triadic
#5264D4 #D45264 #64D452
tetradic
#5264D4 #D452A5 #D4C252 #52D481
square
#5264D4 #D452A5 #D4C252 #52D481
split-complementary
#5264D4 #D48152 #A5D452
monochromatic
#223089 #2E42BA #5264D4 #8390E0 #B4BCEC

Accessibility & contrast

On white

5.08
#5264D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5264D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264D4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264D4#FFFFFF#000000##FFFFFF
##5264D41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5264d4;
/* rgb */ color: rgb(82, 100, 212);
/* oklch */ color: oklch(55.0% 0.172 272.6);
Tailwind
colors: {
  custom: {
    50: '#8f8fe2',
    500: '#5264d4',
    950: '#000000',
  },
}
SCSS
$custom: #5264d4;
$custom-light: #8f8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#5264d4",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 231.692,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.17211,
    "h": 272.6
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#5264D4
secondary
#DBD4A7
accent
#CD44E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264D4

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

Preview Lab → · Contrast checker → · Palette generator →

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