#5260D3#5260D3

#5260D3 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.176 H 273.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5260D3
RGBrgb(82, 96, 211)
HSLhsl(233, 59%, 57%)
HSVhsv(233, 61%, 83%)
CMYKcmyk(61.1%, 54.5%, 0%, 17.3%)
CIE-LABlab(45.44, 29.63, -61.13)
CIE-LCHlch(45.44, 67.93, 295.86°)
OKLaboklab(54.12% 0.0115 -0.1754)
OKLCHoklch(54.12% 0.176 273.8)
XYZxyz(19.4165, 14.8612, 63.4607)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260D3 #D3C552
analogous
#52A1D3 #5260D3 #8452D3
triadic
#5260D3 #D35260 #60D352
tetradic
#5260D3 #D352A1 #D3C552 #52D384
square
#5260D3 #D352A1 #D3C552 #52D384
split-complementary
#5260D3 #D38452 #A1D352
monochromatic
#232E88 #2F3EB9 #5260D3 #838DDF #B4BAEC

Accessibility & contrast

On white

5.29
#5260D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5260D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260D3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260D3#FFFFFF#000000##FFFFFF
##5260D31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0871D7
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5260d3;
/* rgb */ color: rgb(82, 96, 211);
/* oklch */ color: oklch(54.1% 0.176 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f8de1',
    500: '#5260d3',
    950: '#000000',
  },
}
SCSS
$custom: #5260d3;
$custom-light: #8f8de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5260d3",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 211
  },
  "hsl": {
    "h": 233.488,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.17582,
    "h": 273.8
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#5260D3
secondary
#DAD5A6
accent
#D245E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5260D3

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

Preview Lab → · Contrast checker → · Palette generator →

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