#5260D7#5260D7

#5260D7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.181 H 273.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5260D7
RGBrgb(82, 96, 215)
HSLhsl(234, 62%, 58%)
HSVhsv(234, 62%, 84%)
CMYKcmyk(61.9%, 55.3%, 0%, 15.7%)
CIE-LABlab(45.72, 30.98, -62.96)
CIE-LCHlch(45.72, 70.17, 296.20°)
OKLaboklab(54.42% 0.0117 -0.1808)
OKLCHoklch(54.42% 0.181 273.7)
XYZxyz(19.9242, 15.0642, 66.1345)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260D7 #D7C952
analogous
#52A2D7 #5260D7 #8652D7
triadic
#5260D7 #D75260 #60D752
tetradic
#5260D7 #D752A2 #D7C952 #52D786
square
#5260D7 #D752A2 #D7C952 #52D786
split-complementary
#5260D7 #D78652 #A2D752
monochromatic
#212C8E #2C3CC0 #5260D7 #848EE2 #B5BBEE

Accessibility & contrast

On white

5.23
#5260D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5260D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260D7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260D7#FFFFFF#000000##FFFFFF
##5260D71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5260d7;
/* rgb */ color: rgb(82, 96, 215);
/* oklch */ color: oklch(54.4% 0.181 273.7);
Tailwind
colors: {
  custom: {
    50: '#8f8de4',
    500: '#5260d7',
    950: '#000000',
  },
}
SCSS
$custom: #5260d7;
$custom-light: #8f8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5260d7",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 215
  },
  "hsl": {
    "h": 233.684,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.18121,
    "h": 273.7
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#5260D7
secondary
#DDD7A8
accent
#D442E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5260D7

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

Preview Lab → · Contrast checker → · Palette generator →

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