#5260E6#5260E6

#5260E6 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.6% C 0.201 H 273.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5260E6
RGBrgb(82, 96, 230)
HSLhsl(234, 75%, 61%)
HSVhsv(234, 64%, 90%)
CMYKcmyk(64.3%, 58.3%, 0%, 9.8%)
CIE-LABlab(46.80, 36.01, -69.71)
CIE-LCHlch(46.80, 78.46, 297.32°)
OKLaboklab(55.57% 0.0119 -0.2007)
OKLCHoklch(55.57% 0.201 273.4)
XYZxyz(21.9407, 15.8708, 76.7547)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260E6 #E6D852
analogous
#52AAE6 #5260E6 #8E52E6
triadic
#5260E6 #E65260 #60E652
tetradic
#5260E6 #E652AA #E6D852 #52E68E
square
#5260E6 #E652AA #E6D852 #52E68E
split-complementary
#5260E6 #E68E52 #AAE652
monochromatic
#1825A6 #2031DB #5260E6 #8791EE #BDC2F5

Accessibility & contrast

On white

5.03
#5260E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5260E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260E6#FFFFFF#000000##FFFFFF
##5260E61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5260e6;
/* rgb */ color: rgb(82, 96, 230);
/* oklch */ color: oklch(55.6% 0.201 273.4);
Tailwind
colors: {
  custom: {
    50: '#928def',
    500: '#5260e6',
    950: '#000000',
  },
}
SCSS
$custom: #5260e6;
$custom-light: #928def;
$custom-dark: #000000;
JSON
{
  "hex": "#5260e6",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 234.324,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.20104,
    "h": 273.4
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#5260E6
secondary
#E6E0AE
accent
#C40FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5260E6

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

Preview Lab → · Contrast checker → · Palette generator →

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