#5261C4#5261C4

#5261C4 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.154 H 273.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5261C4
RGBrgb(82, 97, 196)
HSLhsl(232, 49%, 55%)
HSVhsv(232, 58%, 77%)
CMYKcmyk(58.2%, 50.5%, 0%, 23.1%)
CIE-LABlab(44.70, 23.97, -53.70)
CIE-LCHlch(44.70, 58.81, 294.06°)
OKLaboklab(53.24% 0.0095 -0.1536)
OKLCHoklch(53.24% 0.154 273.5)
XYZxyz(17.7149, 14.3274, 54.0458)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261C4 #C4B552
analogous
#529AC4 #5261C4 #7C52C4
triadic
#5261C4 #C45261 #61C452
tetradic
#5261C4 #C4529A #C4B552 #52C47C
square
#5261C4 #C4529A #C4B552 #52C47C
split-complementary
#5261C4 #C47C52 #9AC452
monochromatic
#283274 #3745A2 #5261C4 #808BD4 #ADB4E3

Accessibility & contrast

On white

5.43
#5261C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5261C4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261C4#FFFFFF#000000##FFFFFF
##5261C41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6FC8
Deuteranopia (green-blind)
#1665C2
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5261c4;
/* rgb */ color: rgb(82, 97, 196);
/* oklch */ color: oklch(53.2% 0.154 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c8dd6',
    500: '#5261c4',
    950: '#000000',
  },
}
SCSS
$custom: #5261c4;
$custom-light: #8c8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5261c4",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 196
  },
  "hsl": {
    "h": 232.105,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.15387,
    "h": 273.5
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#5261C4
secondary
#D1CBA1
accent
#C74FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5261C4

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

Preview Lab → · Contrast checker → · Palette generator →

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