#5261E9#5261E9

#5261E9 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.0% C 0.204 H 273.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5261E9
RGBrgb(82, 97, 233)
HSLhsl(234, 77%, 62%)
HSVhsv(234, 65%, 91%)
CMYKcmyk(64.8%, 58.4%, 0%, 8.6%)
CIE-LABlab(47.27, 36.40, -70.65)
CIE-LCHlch(47.27, 79.48, 297.26°)
OKLaboklab(55.98% 0.0111 -0.2034)
OKLCHoklch(55.98% 0.204 273.1)
XYZxyz(22.4574, 16.2244, 79.0231)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261E9 #E9DA52
analogous
#52ACE9 #5261E9 #8F52E9
triadic
#5261E9 #E95261 #61E952
tetradic
#5261E9 #E952AC #E9DA52 #52E98F
square
#5261E9 #E952AC #E9DA52 #52E98F
split-complementary
#5261E9 #E98F52 #ACE952
monochromatic
#1625AB #1D30E1 #5261E9 #8893F0 #BFC4F7

Accessibility & contrast

On white

4.95
#5261E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5261E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261E9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261E9#FFFFFF#000000##FFFFFF
##5261E91.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5261e9;
/* rgb */ color: rgb(82, 97, 233);
/* oklch */ color: oklch(56.0% 0.204 273.1);
Tailwind
colors: {
  custom: {
    50: '#928df1',
    500: '#5261e9',
    950: '#000000',
  },
}
SCSS
$custom: #5261e9;
$custom-light: #928df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5261e9",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 234.04,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.20374,
    "h": 273.1
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#5261E9
secondary
#E7E2AF
accent
#C50CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5261E9

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

Preview Lab → · Contrast checker → · Palette generator →

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