#5261AE#5261AE

#5261AE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.122 H 273.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5261AE
RGBrgb(82, 97, 174)
HSLhsl(230, 36%, 50%)
HSVhsv(230, 53%, 68%)
CMYKcmyk(52.9%, 44.3%, 0%, 31.8%)
CIE-LABlab(43.36, 16.68, -43.03)
CIE-LCHlch(43.36, 46.15, 291.19°)
OKLaboklab(51.79% 0.0067 -0.1222)
OKLCHoklch(51.79% 0.122 273.1)
XYZxyz(15.3919, 13.3982, 41.8112)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261AE #AE9F52
analogous
#528FAE #5261AE #7152AE
triadic
#5261AE #AE5261 #61AE52
tetradic
#5261AE #AE528F #AE9F52 #52AE71
square
#5261AE #AE528F #AE9F52 #52AE71
split-complementary
#5261AE #AE7152 #8FAE52
monochromatic
#2B325B #3E4A85 #5261AE #7C87C2 #A5ADD5

Accessibility & contrast

On white

5.71
#5261AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5261AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261AE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261AE#FFFFFF#000000##FFFFFF
##5261AE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB1
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#28727F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5261ae;
/* rgb */ color: rgb(82, 97, 174);
/* oklch */ color: oklch(51.8% 0.122 273.1);
Tailwind
colors: {
  custom: {
    50: '#898dc6',
    500: '#5261ae',
    950: '#000000',
  },
}
SCSS
$custom: #5261ae;
$custom-light: #898dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5261ae",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 174
  },
  "hsl": {
    "h": 230.217,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.12241,
    "h": 273.1
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#5261AE
secondary
#C2BC99
accent
#BA5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5261AE

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

Preview Lab → · Contrast checker → · Palette generator →

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