#5260C2#5260C2

#5260C2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.152 H 273.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5260C2
RGBrgb(82, 96, 194)
HSLhsl(233, 48%, 54%)
HSVhsv(233, 58%, 76%)
CMYKcmyk(57.7%, 50.5%, 0%, 23.9%)
CIE-LABlab(44.31, 23.94, -53.17)
CIE-LCHlch(44.31, 58.31, 294.24°)
OKLaboklab(52.91% 0.0104 -0.152)
OKLCHoklch(52.91% 0.152 273.9)
XYZxyz(17.3970, 14.0533, 52.8243)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5260C2 #C2B452
analogous
#5298C2 #5260C2 #7C52C2
triadic
#5260C2 #C25260 #60C252
tetradic
#5260C2 #C25298 #C2B452 #52C27C
square
#5260C2 #C25298 #C2B452 #52C27C
split-complementary
#5260C2 #C27C52 #98C252
monochromatic
#283172 #38459F #5260C2 #7F8AD2 #ACB3E2

Accessibility & contrast

On white

5.51
#5260C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5260C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5260C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5260C2#FFFFFF#000000##FFFFFF
##5260C21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#1764C0
Tritanopia (blue-blind)
#027688
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5260c2;
/* rgb */ color: rgb(82, 96, 194);
/* oklch */ color: oklch(52.9% 0.152 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c8dd5',
    500: '#5260c2',
    950: '#000000',
  },
}
SCSS
$custom: #5260c2;
$custom-light: #8c8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5260c2",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 232.5,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.15238,
    "h": 273.9
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#5260C2
secondary
#D0CAA0
accent
#C750D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5260C2

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

Preview Lab → · Contrast checker → · Palette generator →

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