#5261C7#5261C7

#5261C7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.158 H 273.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5261C7
RGBrgb(82, 97, 199)
HSLhsl(232, 51%, 55%)
HSVhsv(232, 59%, 78%)
CMYKcmyk(58.8%, 51.3%, 0%, 22%)
CIE-LABlab(44.89, 24.98, -55.12)
CIE-LCHlch(44.89, 60.52, 294.38°)
OKLaboklab(53.45% 0.0098 -0.1578)
OKLCHoklch(53.45% 0.158 273.5)
XYZxyz(18.0598, 14.4654, 55.8622)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261C7 #C7B852
analogous
#529BC7 #5261C7 #7E52C7
triadic
#5261C7 #C75261 #61C752
tetradic
#5261C7 #C7529B #C7B852 #52C77E
square
#5261C7 #C7529B #C7B852 #52C77E
split-complementary
#5261C7 #C77E52 #9BC752
monochromatic
#273178 #3644A6 #5261C7 #808BD6 #AEB5E5

Accessibility & contrast

On white

5.39
#5261C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5261C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261C7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261C7#FFFFFF#000000##FFFFFF
##5261C71.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#0C65C5
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5261c7;
/* rgb */ color: rgb(82, 97, 199);
/* oklch */ color: oklch(53.4% 0.158 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d8dd9',
    500: '#5261c7',
    950: '#000000',
  },
}
SCSS
$custom: #5261c7;
$custom-light: #8d8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5261c7",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 232.308,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.15806,
    "h": 273.5
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#5261C7
secondary
#D3CDA2
accent
#C84DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5261C7

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

Preview Lab → · Contrast checker → · Palette generator →

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