#5261CE#5261CE

#5261CE is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.168 H 273.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5261CE
RGBrgb(82, 97, 206)
HSLhsl(233, 56%, 56%)
HSVhsv(233, 60%, 81%)
CMYKcmyk(60.2%, 52.9%, 0%, 19.2%)
CIE-LABlab(45.36, 27.33, -58.40)
CIE-LCHlch(45.36, 64.48, 295.08°)
OKLaboklab(53.95% 0.0103 -0.1674)
OKLCHoklch(53.95% 0.168 273.5)
XYZxyz(18.8913, 14.7980, 60.2413)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261CE #CEBF52
analogous
#529FCE #5261CE #8152CE
triadic
#5261CE #CE5261 #61CE52
tetradic
#5261CE #CE529F #CEBF52 #52CE81
square
#5261CE #CE529F #CEBF52 #52CE81
split-complementary
#5261CE #CE8152 #9FCE52
monochromatic
#253081 #3241B1 #5261CE #828DDC #B1B8E9

Accessibility & contrast

On white

5.30
#5261CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5261CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261CE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261CE#FFFFFF#000000##FFFFFF
##5261CE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5261ce;
/* rgb */ color: rgb(82, 97, 206);
/* oklch */ color: oklch(53.9% 0.168 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e8dde',
    500: '#5261ce',
    950: '#000000',
  },
}
SCSS
$custom: #5261ce;
$custom-light: #8e8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5261ce",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 232.742,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.16773,
    "h": 273.5
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#5261CE
secondary
#D7D1A4
accent
#CD49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5261CE

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

Preview Lab → · Contrast checker → · Palette generator →

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