#5264E3#5264E3

#5264E3 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.192 H 272.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5264E3
RGBrgb(82, 100, 227)
HSLhsl(233, 72%, 61%)
HSVhsv(233, 64%, 89%)
CMYKcmyk(63.9%, 55.9%, 0%, 11%)
CIE-LABlab(47.56, 32.54, -66.79)
CIE-LCHlch(47.56, 74.29, 295.98°)
OKLaboklab(56.06% 0.0084 -0.192)
OKLCHoklch(56.06% 0.192 272.5)
XYZxyz(21.8973, 16.4523, 74.6798)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264E3 #E3D152
analogous
#52ACE3 #5264E3 #8952E3
triadic
#5264E3 #E35264 #64E352
tetradic
#5264E3 #E352AC #E3D152 #52E389
square
#5264E3 #E352AC #E3D152 #52E389
split-complementary
#5264E3 #E38952 #ACE352
monochromatic
#1A2BA1 #2339D5 #5264E3 #8793EC #BBC2F4

Accessibility & contrast

On white

4.89
#5264E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5264E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264E3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264E3#FFFFFF#000000##FFFFFF
##5264E31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5264e3;
/* rgb */ color: rgb(82, 100, 227);
/* oklch */ color: oklch(56.1% 0.192 272.5);
Tailwind
colors: {
  custom: {
    50: '#9190ed',
    500: '#5264e3',
    950: '#000000',
  },
}
SCSS
$custom: #5264e3;
$custom-light: #9190ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5264e3",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 232.552,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.19224,
    "h": 272.5
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#5264E3
secondary
#E4DDAD
accent
#BC11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5264E3

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

Preview Lab → · Contrast checker → · Palette generator →

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