#5261DF#5261DF

#5261DF is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.191 H 273.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5261DF
RGBrgb(82, 97, 223)
HSLhsl(234, 69%, 60%)
HSVhsv(234, 63%, 87%)
CMYKcmyk(63.2%, 56.5%, 0%, 12.5%)
CIE-LABlab(46.54, 33.05, -66.19)
CIE-LCHlch(46.54, 73.98, 296.53°)
OKLaboklab(55.21% 0.011 -0.1903)
OKLCHoklch(55.21% 0.191 273.3)
XYZxyz(21.0692, 15.6691, 71.7119)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261DF #DFD052
analogous
#52A8DF #5261DF #8A52DF
triadic
#5261DF #DF5261 #61DF52
tetradic
#5261DF #DF52A8 #DFD052 #52DF8A
square
#5261DF #DF52A8 #DFD052 #52DF8A
split-complementary
#5261DF #DF8A52 #A8DF52
monochromatic
#1D2A9A #2638CE #5261DF #8690E9 #B9BFF2

Accessibility & contrast

On white

5.08
#5261DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5261DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261DF#FFFFFF#000000##FFFFFF
##5261DF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5261df;
/* rgb */ color: rgb(82, 97, 223);
/* oklch */ color: oklch(55.2% 0.191 273.3);
Tailwind
colors: {
  custom: {
    50: '#918dea',
    500: '#5261df',
    950: '#000000',
  },
}
SCSS
$custom: #5261df;
$custom-light: #918dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5261df",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 233.617,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.19063,
    "h": 273.3
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#5261DF
secondary
#E2DCAB
accent
#D93CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5261DF

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

Preview Lab → · Contrast checker → · Palette generator →

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