#5268E8#5268E8

#5268E8 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.2% C 0.194 H 271.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5268E8
RGBrgb(82, 104, 232)
HSLhsl(231, 77%, 62%)
HSVhsv(231, 65%, 91%)
CMYKcmyk(64.7%, 55.2%, 0%, 9%)
CIE-LABlab(48.91, 31.76, -67.43)
CIE-LCHlch(48.91, 74.53, 295.23°)
OKLaboklab(57.18% 0.0051 -0.1939)
OKLCHoklch(57.18% 0.194 271.5)
XYZxyz(22.9906, 17.5186, 78.4981)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268E8 #E8D252
analogous
#52B3E8 #5268E8 #8752E8
triadic
#5268E8 #E85268 #68E852
tetradic
#5268E8 #E852B3 #E8D252 #52E887
square
#5268E8 #E852B3 #E8D252 #52E887
split-complementary
#5268E8 #E88752 #B3E852
monochromatic
#162CA9 #1E3ADF #5268E8 #8897EF #BEC6F6

Accessibility & contrast

On white

4.66
#5268E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5268E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5268E8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268E8#FFFFFF#000000##FFFFFF
##5268E81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5268e8;
/* rgb */ color: rgb(82, 104, 232);
/* oklch */ color: oklch(57.2% 0.194 271.5);
Tailwind
colors: {
  custom: {
    50: '#9292f0',
    500: '#5268e8',
    950: '#000000',
  },
}
SCSS
$custom: #5268e8;
$custom-light: #9292f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5268e8",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 231.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.19395,
    "h": 271.5
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#5268E8
secondary
#E7DFAF
accent
#BB0DD9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5268E8

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

Preview Lab → · Contrast checker → · Palette generator →

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