#5260CD#5260CD

#5260CD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.168 H 273.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5260CD
RGBrgb(82, 96, 205)
HSLhsl(233, 55%, 56%)
HSVhsv(233, 60%, 80%)
CMYKcmyk(60%, 53.2%, 0%, 19.6%)
CIE-LABlab(45.03, 27.62, -58.35)
CIE-LCHlch(45.03, 64.55, 295.33°)
OKLaboklab(53.68% 0.0112 -0.1673)
OKLCHoklch(53.68% 0.168 273.8)
XYZxyz(18.6784, 14.5659, 59.5730)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260CD #CDBF52
analogous
#529ECD #5260CD #8252CD
triadic
#5260CD #CD5260 #60CD52
tetradic
#5260CD #CD529E #CDBF52 #52CD82
square
#5260CD #CD529E #CDBF52 #52CD82
split-complementary
#5260CD #CD8252 #9ECD52
monochromatic
#252F80 #3341AF #5260CD #818CDB #B1B7E8

Accessibility & contrast

On white

5.37
#5260CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5260CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260CD#FFFFFF#000000##FFFFFF
##5260CD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5260cd;
/* rgb */ color: rgb(82, 96, 205);
/* oklch */ color: oklch(53.7% 0.168 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e8ddd',
    500: '#5260cd',
    950: '#000000',
  },
}
SCSS
$custom: #5260cd;
$custom-light: #8e8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5260cd",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 233.171,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.16764,
    "h": 273.8
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#5260CD
secondary
#D7D1A4
accent
#CE49DE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5260CD

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

Preview Lab → · Contrast checker → · Palette generator →

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