#5264E8#5264E8

#5264E8 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.199 H 272.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5264E8
RGBrgb(82, 100, 232)
HSLhsl(233, 77%, 62%)
HSVhsv(233, 65%, 91%)
CMYKcmyk(64.7%, 56.9%, 0%, 9%)
CIE-LABlab(47.92, 34.23, -69.03)
CIE-LCHlch(47.92, 77.05, 296.38°)
OKLaboklab(56.44% 0.0086 -0.1986)
OKLCHoklch(56.44% 0.199 272.5)
XYZxyz(22.5975, 16.7324, 78.3671)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264E8 #E8D652
analogous
#52AFE8 #5264E8 #8B52E8
triadic
#5264E8 #E85264 #64E852
tetradic
#5264E8 #E852AF #E8D652 #52E88B
square
#5264E8 #E852AF #E8D652 #52E88B
split-complementary
#5264E8 #E88B52 #AFE852
monochromatic
#1628A9 #1E35DF #5264E8 #8894EF #BEC5F6

Accessibility & contrast

On white

4.83
#5264E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5264E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264E8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264E8#FFFFFF#000000##FFFFFF
##5264E81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5264e8;
/* rgb */ color: rgb(82, 100, 232);
/* oklch */ color: oklch(56.4% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#9290f0',
    500: '#5264e8',
    950: '#000000',
  },
}
SCSS
$custom: #5264e8;
$custom-light: #9290f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5264e8",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 232.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.19881,
    "h": 272.5
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#5264E8
secondary
#E7E0AF
accent
#C00DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5264E8

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

Preview Lab → · Contrast checker → · Palette generator →

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