#5264E2#5264E2

#5264E2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.0% C 0.191 H 272.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5264E2
RGBrgb(82, 100, 226)
HSLhsl(233, 71%, 60%)
HSVhsv(233, 64%, 89%)
CMYKcmyk(63.7%, 55.8%, 0%, 11.4%)
CIE-LABlab(47.49, 32.20, -66.34)
CIE-LCHlch(47.49, 73.74, 295.89°)
OKLaboklab(55.99% 0.0084 -0.1907)
OKLCHoklch(55.99% 0.191 272.5)
XYZxyz(21.7597, 16.3973, 73.9550)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264E2 #E2D052
analogous
#52ACE2 #5264E2 #8852E2
triadic
#5264E2 #E25264 #64E252
tetradic
#5264E2 #E252AC #E2D052 #52E288
square
#5264E2 #E252AC #E2D052 #52E288
split-complementary
#5264E2 #E28852 #ACE252
monochromatic
#1B2B9F #2339D3 #5264E2 #8693EB #BBC2F4

Accessibility & contrast

On white

4.91
#5264E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5264E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264E2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264E2#FFFFFF#000000##FFFFFF
##5264E21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5264e2;
/* rgb */ color: rgb(82, 100, 226);
/* oklch */ color: oklch(56.0% 0.191 272.5);
Tailwind
colors: {
  custom: {
    50: '#9190ec',
    500: '#5264e2',
    950: '#000000',
  },
}
SCSS
$custom: #5264e2;
$custom-light: #9190ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5264e2",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 232.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.19092,
    "h": 272.5
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#5264E2
secondary
#E3DDAC
accent
#BB12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5264E2

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

Preview Lab → · Contrast checker → · Palette generator →

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