#5260CF#5260CF

#5260CF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.170 H 273.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5260CF
RGBrgb(82, 96, 207)
HSLhsl(233, 57%, 57%)
HSVhsv(233, 60%, 81%)
CMYKcmyk(60.4%, 53.6%, 0%, 18.8%)
CIE-LABlab(45.17, 28.29, -59.28)
CIE-LCHlch(45.17, 65.68, 295.51°)
OKLaboklab(53.83% 0.0113 -0.17)
OKLCHoklch(53.83% 0.17 273.8)
XYZxyz(18.9213, 14.6631, 60.8525)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260CF #CFC152
analogous
#529FCF #5260CF #8352CF
triadic
#5260CF #CF5260 #60CF52
tetradic
#5260CF #CF529F #CFC152 #52CF83
square
#5260CF #CF529F #CFC152 #52CF83
split-complementary
#5260CF #CF8352 #9FCF52
monochromatic
#242F82 #3140B2 #5260CF #828CDC #B2B8EA

Accessibility & contrast

On white

5.34
#5260CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5260CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260CF#FFFFFF#000000##FFFFFF
##5260CF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1670D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5260cf;
/* rgb */ color: rgb(82, 96, 207);
/* oklch */ color: oklch(53.8% 0.170 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e8dde',
    500: '#5260cf',
    950: '#000000',
  },
}
SCSS
$custom: #5260cf;
$custom-light: #8e8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5260cf",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 207
  },
  "hsl": {
    "h": 233.28,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.17038,
    "h": 273.8
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#5260CF
secondary
#D8D2A5
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5260CF

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

Preview Lab → · Contrast checker → · Palette generator →

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