#5259A4#5259A4

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

Color values

HEX#5259A4
RGBrgb(82, 89, 164)
HSLhsl(235, 33%, 48%)
HSVhsv(235, 50%, 64%)
CMYKcmyk(50%, 45.7%, 0%, 35.7%)
CIE-LABlab(40.60, 18.51, -41.51)
CIE-LCHlch(40.60, 45.45, 294.03°)
OKLaboklab(49.5% 0.0147 -0.1178)
OKLCHoklch(49.5% 0.119 277.1)
XYZxyz(13.7508, 11.6181, 36.6327)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A4 #A49D52
analogous
#5282A4 #5259A4 #7452A4
triadic
#5259A4 #A45259 #59A452
tetradic
#5259A4 #A45282 #A49D52 #52A474
square
#5259A4 #A45282 #A49D52 #52A474
split-complementary
#5259A4 #A47452 #82A452
monochromatic
#292D52 #3E437B #5259A4 #787EBB #A1A5D0

Accessibility & contrast

On white

6.32
#5259A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5259A4#FFFFFF#000000##FFFFFF
##5259A41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A7
Deuteranopia (green-blind)
#325DA2
Tritanopia (blue-blind)
#326976
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5259a4;
/* rgb */ color: rgb(82, 89, 164);
/* oklch */ color: oklch(49.5% 0.119 277.1);
Tailwind
colors: {
  custom: {
    50: '#8887bf',
    500: '#5259a4',
    950: '#000000',
  },
}
SCSS
$custom: #5259a4;
$custom-light: #8887bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a4",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 234.878,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.11875,
    "h": 277.1
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#5259A4
secondary
#BDBA95
accent
#C05EC9
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5259A4

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

Preview Lab → · Contrast checker → · Palette generator →

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