#5259A6#5259A6

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

Color values

HEX#5259A6
RGBrgb(82, 89, 166)
HSLhsl(235, 34%, 49%)
HSVhsv(235, 51%, 65%)
CMYKcmyk(50.6%, 46.4%, 0%, 34.9%)
CIE-LABlab(40.72, 19.15, -42.51)
CIE-LCHlch(40.72, 46.62, 294.25°)
OKLaboklab(49.63% 0.015 -0.1208)
OKLCHoklch(49.63% 0.122 277.1)
XYZxyz(13.9328, 11.6910, 37.5914)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A6 #A69F52
analogous
#5283A6 #5259A6 #7552A6
triadic
#5259A6 #A65259 #59A652
tetradic
#5259A6 #A65283 #A69F52 #52A675
square
#5259A6 #A65283 #A69F52 #52A675
split-complementary
#5259A6 #A67552 #83A652
monochromatic
#2A2D54 #3E437D #5259A6 #797EBD #A2A5D1

Accessibility & contrast

On white

6.29
#5259A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5259A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259A6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259A6#FFFFFF#000000##FFFFFF
##5259A61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A9
Deuteranopia (green-blind)
#305DA4
Tritanopia (blue-blind)
#306977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5259a6;
/* rgb */ color: rgb(82, 89, 166);
/* oklch */ color: oklch(49.6% 0.122 277.1);
Tailwind
colors: {
  custom: {
    50: '#8887c1',
    500: '#5259a6',
    950: '#000000',
  },
}
SCSS
$custom: #5259a6;
$custom-light: #8887c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a6",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 166
  },
  "hsl": {
    "h": 235,
    "s": 33.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.12171,
    "h": 277.1
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5259A6

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

Preview Lab → · Contrast checker → · Palette generator →

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