#5261FF#5261FF

#5261FF is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.8% C 0.232 H 272.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5261FF
RGBrgb(82, 97, 255)
HSLhsl(235, 100%, 66%)
HSVhsv(235, 68%, 100%)
CMYKcmyk(67.8%, 62%, 0%, 0%)
CIE-LABlab(48.96, 43.74, -80.19)
CIE-LCHlch(48.96, 91.34, 298.61°)
OKLaboklab(57.75% 0.0104 -0.2314)
OKLCHoklch(57.75% 0.232 272.6)
XYZxyz(25.7983, 17.5608, 96.6183)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261FF #FFF052
analogous
#52B7FF #5261FF #9952FF
triadic
#5261FF #FF5261 #61FF52
tetradic
#5261FF #FF52B7 #FFF052 #52FF99
square
#5261FF #FF52B7 #FFF052 #52FF99
split-complementary
#5261FF #FF9952 #B7FF52
monochromatic
#0013D7 #1529FF #5261FF #8F99FF #CCD1FF

Accessibility & contrast

On white

4.65
#5261FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5261FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5261FF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261FF#FFFFFF#000000##FFFFFF
##5261FF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5261ff;
/* rgb */ color: rgb(82, 97, 255);
/* oklch */ color: oklch(57.8% 0.232 272.6);
Tailwind
colors: {
  custom: {
    50: '#978eff',
    500: '#5261ff',
    950: '#000000',
  },
}
SCSS
$custom: #5261ff;
$custom-light: #978eff;
$custom-dark: #000000;
JSON
{
  "hex": "#5261ff",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 255
  },
  "hsl": {
    "h": 234.798,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.23169,
    "h": 272.6
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#5261FF
secondary
#F3EEBA
accent
#D200E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5261FF

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

Preview Lab → · Contrast checker → · Palette generator →

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