#5261D0#5261D0

#5261D0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.170 H 273.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5261D0
RGBrgb(82, 97, 208)
HSLhsl(233, 57%, 57%)
HSVhsv(233, 61%, 82%)
CMYKcmyk(60.6%, 53.4%, 0%, 18.4%)
CIE-LABlab(45.49, 28.00, -59.33)
CIE-LCHlch(45.49, 65.61, 295.26°)
OKLaboklab(54.09% 0.0104 -0.1701)
OKLCHoklch(54.09% 0.17 273.5)
XYZxyz(19.1358, 14.8958, 61.5290)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261D0 #D0C152
analogous
#52A0D0 #5261D0 #8252D0
triadic
#5261D0 #D05261 #61D052
tetradic
#5261D0 #D052A0 #D0C152 #52D082
square
#5261D0 #D052A0 #D0C152 #52D082
split-complementary
#5261D0 #D08252 #A0D052
monochromatic
#242F84 #3140B4 #5261D0 #828DDD #B2B9EA

Accessibility & contrast

On white

5.28
#5261D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5261D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261D0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261D0#FFFFFF#000000##FFFFFF
##5261D01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D4
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5261d0;
/* rgb */ color: rgb(82, 97, 208);
/* oklch */ color: oklch(54.1% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ddf',
    500: '#5261d0',
    950: '#000000',
  },
}
SCSS
$custom: #5261d0;
$custom-light: #8e8ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5261d0",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 208
  },
  "hsl": {
    "h": 232.857,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.17046,
    "h": 273.5
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#5261D0
secondary
#D9D2A5
accent
#CE47E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5261D0

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

Preview Lab → · Contrast checker → · Palette generator →

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