#5261CD#5261CD

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

Color values

HEX#5261CD
RGBrgb(82, 97, 205)
HSLhsl(233, 55%, 56%)
HSVhsv(233, 60%, 80%)
CMYKcmyk(60%, 52.7%, 0%, 19.6%)
CIE-LABlab(45.29, 26.99, -57.94)
CIE-LCHlch(45.29, 63.92, 294.98°)
OKLaboklab(53.87% 0.0102 -0.166)
OKLCHoklch(53.87% 0.166 273.5)
XYZxyz(18.7702, 14.7495, 59.6036)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261CD #CDBE52
analogous
#529FCD #5261CD #8152CD
triadic
#5261CD #CD5261 #61CD52
tetradic
#5261CD #CD529F #CDBE52 #52CD81
square
#5261CD #CD529F #CDBE52 #52CD81
split-complementary
#5261CD #CD8152 #9FCD52
monochromatic
#253080 #3342AF #5261CD #818CDB #B1B8E8

Accessibility & contrast

On white

5.32
#5261CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5261CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261CD#FFFFFF#000000##FFFFFF
##5261CD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5261cd;
/* rgb */ color: rgb(82, 97, 205);
/* oklch */ color: oklch(53.9% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ddd',
    500: '#5261cd',
    950: '#000000',
  },
}
SCSS
$custom: #5261cd;
$custom-light: #8e8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5261cd",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 232.683,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.16635,
    "h": 273.5
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#5261CD
secondary
#D7D1A4
accent
#CC49DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5261CD

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

Preview Lab → · Contrast checker → · Palette generator →

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