#5259A3#5259A3

#5259A3 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.4% C 0.117 H 277.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5259A3
RGBrgb(82, 89, 163)
HSLhsl(235, 33%, 48%)
HSVhsv(235, 50%, 64%)
CMYKcmyk(49.7%, 45.4%, 0%, 36.1%)
CIE-LABlab(40.54, 18.18, -41.01)
CIE-LCHlch(40.54, 44.86, 293.91°)
OKLaboklab(49.44% 0.0146 -0.1164)
OKLCHoklch(49.44% 0.117 277.1)
XYZxyz(13.6609, 11.5822, 36.1590)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A3 #A39C52
analogous
#5281A3 #5259A3 #7352A3
triadic
#5259A3 #A35259 #59A352
tetradic
#5259A3 #A35281 #A39C52 #52A373
square
#5259A3 #A35281 #A39C52 #52A373
split-complementary
#5259A3 #A37352 #81A352
monochromatic
#292D52 #3E437A #5259A3 #777DBB #A0A4CF

Accessibility & contrast

On white

6.33
#5259A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5259A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5259A3#FFFFFF#000000##FFFFFF
##5259A31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#336976
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5259a3;
/* rgb */ color: rgb(82, 89, 163);
/* oklch */ color: oklch(49.4% 0.117 277.1);
Tailwind
colors: {
  custom: {
    50: '#8887bf',
    500: '#5259a3',
    950: '#000000',
  },
}
SCSS
$custom: #5259a3;
$custom-light: #8887bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a3",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 234.815,
    "s": 33.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.11728,
    "h": 277.1
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#5259A3
secondary
#BCB994
accent
#C05FC9
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5259A3

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

Preview Lab → · Contrast checker → · Palette generator →

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