#5259A9#5259A9

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

Color values

HEX#5259A9
RGBrgb(82, 89, 169)
HSLhsl(235, 35%, 49%)
HSVhsv(235, 51%, 66%)
CMYKcmyk(51.5%, 47.3%, 0%, 33.7%)
CIE-LABlab(40.90, 20.12, -44.00)
CIE-LCHlch(40.90, 48.38, 294.57°)
OKLaboklab(49.83% 0.0154 -0.1251)
OKLCHoklch(49.83% 0.126 277)
XYZxyz(14.2112, 11.8023, 39.0577)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A9 #A9A252
analogous
#5285A9 #5259A9 #7752A9
triadic
#5259A9 #A95259 #59A952
tetradic
#5259A9 #A95285 #A9A252 #52A977
square
#5259A9 #A95285 #A9A252 #52A977
split-complementary
#5259A9 #A97752 #85A952
monochromatic
#2A2E57 #3E4380 #5259A9 #7A7FBE #A3A7D2

Accessibility & contrast

On white

6.25
#5259A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5259A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5259A9#FFFFFF#000000##FFFFFF
##5259A91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AC
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#2E6A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5259a9;
/* rgb */ color: rgb(82, 89, 169);
/* oklch */ color: oklch(49.8% 0.126 277.0);
Tailwind
colors: {
  custom: {
    50: '#8887c3',
    500: '#5259a9',
    950: '#000000',
  },
}
SCSS
$custom: #5259a9;
$custom-light: #8887c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a9",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 169
  },
  "hsl": {
    "h": 235.172,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.1261,
    "h": 277
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#5259A9
secondary
#C0BC97
accent
#C25DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5259A9

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

Preview Lab → · Contrast checker → · Palette generator →

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