#5261DA#5261DA

#5261DA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.184 H 273.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5261DA
RGBrgb(82, 97, 218)
HSLhsl(233, 65%, 59%)
HSVhsv(233, 62%, 85%)
CMYKcmyk(62.4%, 55.5%, 0%, 14.5%)
CIE-LABlab(46.18, 31.36, -63.92)
CIE-LCHlch(46.18, 71.20, 296.13°)
OKLaboklab(54.83% 0.0109 -0.1837)
OKLCHoklch(54.83% 0.184 273.4)
XYZxyz(20.4051, 15.4035, 68.2139)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261DA #DACB52
analogous
#52A5DA #5261DA #8752DA
triadic
#5261DA #DA5261 #61DA52
tetradic
#5261DA #DA52A5 #DACB52 #52DA87
square
#5261DA #DA52A5 #DACB52 #52DA87
split-complementary
#5261DA #DA8752 #A5DA52
monochromatic
#1F2C92 #2A3BC5 #5261DA #848FE5 #B7BDF0

Accessibility & contrast

On white

5.15
#5261DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5261DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261DA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261DA#FFFFFF#000000##FFFFFF
##5261DA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5261da;
/* rgb */ color: rgb(82, 97, 218);
/* oklch */ color: oklch(54.8% 0.184 273.4);
Tailwind
colors: {
  custom: {
    50: '#908de6',
    500: '#5261da',
    950: '#000000',
  },
}
SCSS
$custom: #5261da;
$custom-light: #908de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5261da",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 218
  },
  "hsl": {
    "h": 233.382,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.18398,
    "h": 273.4
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#5261DA
secondary
#DFD9A9
accent
#D540E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5261DA

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

Preview Lab → · Contrast checker → · Palette generator →

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