#5264D3#5264D3

#5264D3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.171 H 272.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5264D3
RGBrgb(82, 100, 211)
HSLhsl(232, 59%, 57%)
HSVhsv(232, 61%, 83%)
CMYKcmyk(61.1%, 52.6%, 0%, 17.3%)
CIE-LABlab(46.46, 27.14, -59.48)
CIE-LCHlch(46.46, 65.38, 294.52°)
OKLaboklab(54.88% 0.0077 -0.1706)
OKLCHoklch(54.88% 0.171 272.6)
XYZxyz(19.7908, 15.6097, 63.5854)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264D3 #D3C152
analogous
#52A4D3 #5264D3 #8152D3
triadic
#5264D3 #D35264 #64D352
tetradic
#5264D3 #D352A4 #D3C152 #52D381
square
#5264D3 #D352A4 #D3C152 #52D381
split-complementary
#5264D3 #D38152 #A4D352
monochromatic
#233188 #2F42B9 #5264D3 #8390DF #B4BBEC

Accessibility & contrast

On white

5.09
#5264D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5264D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264D3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264D3#FFFFFF#000000##FFFFFF
##5264D31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5264d3;
/* rgb */ color: rgb(82, 100, 211);
/* oklch */ color: oklch(54.9% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fe1',
    500: '#5264d3',
    950: '#000000',
  },
}
SCSS
$custom: #5264d3;
$custom-light: #8e8fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5264d3",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 211
  },
  "hsl": {
    "h": 231.628,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.17074,
    "h": 272.6
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#5264D3
secondary
#DAD3A6
accent
#CD45E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264D3

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

Preview Lab → · Contrast checker → · Palette generator →

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