#5260E5#5260E5

#5260E5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.200 H 273.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5260E5
RGBrgb(82, 96, 229)
HSLhsl(234, 74%, 61%)
HSVhsv(234, 64%, 90%)
CMYKcmyk(64.2%, 58.1%, 0%, 10.2%)
CIE-LABlab(46.73, 35.67, -69.27)
CIE-LCHlch(46.73, 77.92, 297.25°)
OKLaboklab(55.49% 0.0119 -0.1994)
OKLCHoklch(55.49% 0.2 273.4)
XYZxyz(21.8007, 15.8148, 76.0172)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260E5 #E5D752
analogous
#52A9E5 #5260E5 #8D52E5
triadic
#5260E5 #E55260 #60E552
tetradic
#5260E5 #E552A9 #E5D752 #52E58D
square
#5260E5 #E552A9 #E5D752 #52E58D
split-complementary
#5260E5 #E58D52 #A9E552
monochromatic
#1926A4 #2132D9 #5260E5 #8791ED #BCC2F5

Accessibility & contrast

On white

5.04
#5260E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5260E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260E5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260E5#FFFFFF#000000##FFFFFF
##5260E51.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5260e5;
/* rgb */ color: rgb(82, 96, 229);
/* oklch */ color: oklch(55.5% 0.200 273.4);
Tailwind
colors: {
  custom: {
    50: '#928dee',
    500: '#5260e5',
    950: '#000000',
  },
}
SCSS
$custom: #5260e5;
$custom-light: #928dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5260e5",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 229
  },
  "hsl": {
    "h": 234.286,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.19974,
    "h": 273.4
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#5260E5
secondary
#E5E0AE
accent
#C310D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5260E5

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

Preview Lab → · Contrast checker → · Palette generator →

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