#5261C5#5261C5

#5261C5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.155 H 273.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5261C5
RGBrgb(82, 97, 197)
HSLhsl(232, 50%, 55%)
HSVhsv(232, 58%, 77%)
CMYKcmyk(58.4%, 50.8%, 0%, 22.7%)
CIE-LABlab(44.76, 24.31, -54.18)
CIE-LCHlch(44.76, 59.38, 294.17°)
OKLaboklab(53.31% 0.0096 -0.155)
OKLCHoklch(53.31% 0.155 273.5)
XYZxyz(17.8291, 14.3731, 54.6473)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261C5 #C5B652
analogous
#529BC5 #5261C5 #7D52C5
triadic
#5261C5 #C55261 #61C552
tetradic
#5261C5 #C5529B #C5B652 #52C57D
square
#5261C5 #C5529B #C5B652 #52C57D
split-complementary
#5261C5 #C57D52 #9BC552
monochromatic
#273175 #3745A3 #5261C5 #808BD4 #AEB5E4

Accessibility & contrast

On white

5.42
#5261C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5261C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261C5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261C5#FFFFFF#000000##FFFFFF
##5261C51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#1365C3
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5261c5;
/* rgb */ color: rgb(82, 97, 197);
/* oklch */ color: oklch(53.3% 0.155 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c8dd7',
    500: '#5261c5',
    950: '#000000',
  },
}
SCSS
$custom: #5261c5;
$custom-light: #8c8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5261c5",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 197
  },
  "hsl": {
    "h": 232.174,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.15528,
    "h": 273.5
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#5261C5
secondary
#D2CBA1
accent
#C74ED9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5261C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5261C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva