#5268E5#5268E5

#5268E5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.190 H 271.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5268E5
RGBrgb(82, 104, 229)
HSLhsl(231, 74%, 61%)
HSVhsv(231, 64%, 90%)
CMYKcmyk(64.2%, 54.6%, 0%, 10.2%)
CIE-LABlab(48.70, 30.75, -66.08)
CIE-LCHlch(48.70, 72.88, 294.95°)
OKLaboklab(56.95% 0.005 -0.1899)
OKLCHoklch(56.95% 0.19 271.5)
XYZxyz(22.5681, 17.3496, 76.2730)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268E5 #E5CF52
analogous
#52B2E5 #5268E5 #8552E5
triadic
#5268E5 #E55268 #68E552
tetradic
#5268E5 #E552B2 #E5CF52 #52E585
square
#5268E5 #E552B2 #E5CF52 #52E585
split-complementary
#5268E5 #E58552 #B2E552
monochromatic
#192DA4 #213CD9 #5268E5 #8796ED #BCC5F5

Accessibility & contrast

On white

4.70
#5268E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5268E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268E5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268E5#FFFFFF#000000##FFFFFF
##5268E51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5268e5;
/* rgb */ color: rgb(82, 104, 229);
/* oklch */ color: oklch(57.0% 0.190 271.5);
Tailwind
colors: {
  custom: {
    50: '#9192ee',
    500: '#5268e5',
    950: '#000000',
  },
}
SCSS
$custom: #5268e5;
$custom-light: #9192ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5268e5",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 231.02,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.18998,
    "h": 271.5
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#5268E5
secondary
#E5DDAE
accent
#B810D6
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5268E5

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

Preview Lab → · Contrast checker → · Palette generator →

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