#5259AA#5259AA

#5259AA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.128 H 277.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5259AA
RGBrgb(82, 89, 170)
HSLhsl(235, 35%, 49%)
HSVhsv(235, 52%, 67%)
CMYKcmyk(51.8%, 47.6%, 0%, 33.3%)
CIE-LABlab(40.96, 20.45, -44.50)
CIE-LCHlch(40.96, 48.97, 294.68°)
OKLaboklab(49.89% 0.0156 -0.1266)
OKLCHoklch(49.89% 0.128 277)
XYZxyz(14.3055, 11.8400, 39.5540)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259AA #AAA352
analogous
#5285AA #5259AA #7752AA
triadic
#5259AA #AA5259 #59AA52
tetradic
#5259AA #AA5285 #AAA352 #52AA77
square
#5259AA #AA5285 #AAA352 #52AA77
split-complementary
#5259AA #AA7752 #85AA52
monochromatic
#2A2E57 #3E4381 #5259AA #7A80BF #A4A7D3

Accessibility & contrast

On white

6.23
#5259AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5259AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259AA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259AA#FFFFFF#000000##FFFFFF
##5259AA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#2C5DA8
Tritanopia (blue-blind)
#2D6B79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5259aa;
/* rgb */ color: rgb(82, 89, 170);
/* oklch */ color: oklch(49.9% 0.128 277.0);
Tailwind
colors: {
  custom: {
    50: '#8987c4',
    500: '#5259aa',
    950: '#000000',
  },
}
SCSS
$custom: #5259aa;
$custom-light: #8987c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5259aa",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 235.227,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.12756,
    "h": 277
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#5259AA
secondary
#C0BD98
accent
#C25DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5259AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva