#5264E1#5264E1

#5264E1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.190 H 272.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5264E1
RGBrgb(82, 100, 225)
HSLhsl(232, 70%, 60%)
HSVhsv(232, 64%, 88%)
CMYKcmyk(63.6%, 55.6%, 0%, 11.8%)
CIE-LABlab(47.42, 31.87, -65.89)
CIE-LCHlch(47.42, 73.19, 295.81°)
OKLaboklab(55.91% 0.0084 -0.1894)
OKLCHoklch(55.91% 0.19 272.5)
XYZxyz(21.6229, 16.3425, 73.2345)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264E1 #E1CF52
analogous
#52ABE1 #5264E1 #8852E1
triadic
#5264E1 #E15264 #64E152
tetradic
#5264E1 #E152AB #E1CF52 #52E188
square
#5264E1 #E152AB #E1CF52 #52E188
split-complementary
#5264E1 #E18852 #ABE152
monochromatic
#1B2C9D #243AD1 #5264E1 #8693EA #BAC1F3

Accessibility & contrast

On white

4.92
#5264E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5264E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264E1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264E1#FFFFFF#000000##FFFFFF
##5264E11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5264e1;
/* rgb */ color: rgb(82, 100, 225);
/* oklch */ color: oklch(55.9% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#9190eb',
    500: '#5264e1',
    950: '#000000',
  },
}
SCSS
$custom: #5264e1;
$custom-light: #9190eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5264e1",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 232.448,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.18959,
    "h": 272.5
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#5264E1
secondary
#E3DCAC
accent
#BA13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5264E1

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

Preview Lab → · Contrast checker → · Palette generator →

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