#5259A2#5259A2

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

Color values

HEX#5259A2
RGBrgb(82, 89, 162)
HSLhsl(235, 33%, 48%)
HSVhsv(235, 49%, 64%)
CMYKcmyk(49.4%, 45.1%, 0%, 36.5%)
CIE-LABlab(40.49, 17.86, -40.51)
CIE-LCHlch(40.49, 44.27, 293.80°)
OKLaboklab(49.38% 0.0144 -0.1149)
OKLCHoklch(49.38% 0.116 277.1)
XYZxyz(13.5716, 11.5465, 35.6890)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A2 #A29B52
analogous
#5281A2 #5259A2 #7352A2
triadic
#5259A2 #A25259 #59A252
tetradic
#5259A2 #A25281 #A29B52 #52A273
square
#5259A2 #A25281 #A29B52 #52A273
split-complementary
#5259A2 #A27352 #81A252
monochromatic
#292C51 #3D4379 #5259A2 #777DBA #A0A4CF

Accessibility & contrast

On white

6.35
#5259A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5259A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5259A2#FFFFFF#000000##FFFFFF
##5259A21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#336875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5259a2;
/* rgb */ color: rgb(82, 89, 162);
/* oklch */ color: oklch(49.4% 0.116 277.1);
Tailwind
colors: {
  custom: {
    50: '#8887be',
    500: '#5259a2',
    950: '#000000',
  },
}
SCSS
$custom: #5259a2;
$custom-light: #8887be;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a2",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 234.75,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.1158,
    "h": 277.1
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5259A2

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

Preview Lab → · Contrast checker → · Palette generator →

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