#5259A5#5259A5

#5259A5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.120 H 277.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5259A5
RGBrgb(82, 89, 165)
HSLhsl(235, 34%, 48%)
HSVhsv(235, 50%, 65%)
CMYKcmyk(50.3%, 46.1%, 0%, 35.3%)
CIE-LABlab(40.66, 18.83, -42.01)
CIE-LCHlch(40.66, 46.04, 294.14°)
OKLaboklab(49.57% 0.0149 -0.1193)
OKLCHoklch(49.57% 0.12 277.1)
XYZxyz(13.8415, 11.6544, 37.1102)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A5 #A59E52
analogous
#5282A5 #5259A5 #7452A5
triadic
#5259A5 #A55259 #59A552
tetradic
#5259A5 #A55282 #A59E52 #52A574
square
#5259A5 #A55282 #A59E52 #52A574
split-complementary
#5259A5 #A57452 #82A552
monochromatic
#292D53 #3E437C #5259A5 #787EBC #A1A5D0

Accessibility & contrast

On white

6.30
#5259A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5259A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5259A5#FFFFFF#000000##FFFFFF
##5259A51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A8
Deuteranopia (green-blind)
#315DA3
Tritanopia (blue-blind)
#316977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5259a5;
/* rgb */ color: rgb(82, 89, 165);
/* oklch */ color: oklch(49.6% 0.120 277.1);
Tailwind
colors: {
  custom: {
    50: '#8887c0',
    500: '#5259a5',
    950: '#000000',
  },
}
SCSS
$custom: #5259a5;
$custom-light: #8887c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a5",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 234.94,
    "s": 33.603,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.12023,
    "h": 277.1
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#5259A5
secondary
#BEBA95
accent
#C15ECA
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5259A5

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

Preview Lab → · Contrast checker → · Palette generator →

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