#5260B2#5260B2

#5260B2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.130 H 273.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5260B2
RGBrgb(82, 96, 178)
HSLhsl(231, 38%, 51%)
HSVhsv(231, 54%, 70%)
CMYKcmyk(53.9%, 46.1%, 0%, 30.2%)
CIE-LABlab(43.32, 18.63, -45.44)
CIE-LCHlch(43.32, 49.11, 292.29°)
OKLaboklab(51.84% 0.0084 -0.1293)
OKLCHoklch(51.84% 0.13 273.7)
XYZxyz(15.6958, 13.3729, 43.8650)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260B2 #B2A452
analogous
#5290B2 #5260B2 #7452B2
triadic
#5260B2 #B25260 #60B252
tetradic
#5260B2 #B25290 #B2A452 #52B274
square
#5260B2 #B25290 #B2A452 #52B274
split-complementary
#5260B2 #B27452 #90B252
monochromatic
#2A325F #3D488A #5260B2 #7C87C5 #A7AED8

Accessibility & contrast

On white

5.71
#5260B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5260B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260B2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260B2#FFFFFF#000000##FFFFFF
##5260B21.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#3162B0
Tritanopia (blue-blind)
#247280
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5260b2;
/* rgb */ color: rgb(82, 96, 178);
/* oklch */ color: oklch(51.8% 0.130 273.7);
Tailwind
colors: {
  custom: {
    50: '#898cc9',
    500: '#5260b2',
    950: '#000000',
  },
}
SCSS
$custom: #5260b2;
$custom-light: #898cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5260b2",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 231.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.12958,
    "h": 273.7
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#5260B2
secondary
#C5BF9B
accent
#BD59CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5260B2

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

Preview Lab → · Contrast checker → · Palette generator →

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