#5259AE#5259AE

#5259AE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.133 H 276.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5259AE
RGBrgb(82, 89, 174)
HSLhsl(235, 36%, 50%)
HSVhsv(235, 53%, 68%)
CMYKcmyk(52.9%, 48.9%, 0%, 31.8%)
CIE-LABlab(41.21, 21.75, -46.47)
CIE-LCHlch(41.21, 51.30, 295.08°)
OKLaboklab(50.16% 0.016 -0.1324)
OKLCHoklch(50.16% 0.133 276.9)
XYZxyz(14.6896, 11.9937, 41.5771)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259AE #AEA752
analogous
#5287AE #5259AE #7952AE
triadic
#5259AE #AE5259 #59AE52
tetradic
#5259AE #AE5287 #AEA752 #52AE79
square
#5259AE #AE5287 #AEA752 #52AE79
split-complementary
#5259AE #AE7952 #87AE52
monochromatic
#2B2E5B #3E4385 #5259AE #7C81C2 #A5A9D5

Accessibility & contrast

On white

6.18
#5259AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5259AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259AE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259AE#FFFFFF#000000##FFFFFF
##5259AE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#296C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5259ae;
/* rgb */ color: rgb(82, 89, 174);
/* oklch */ color: oklch(50.2% 0.133 276.9);
Tailwind
colors: {
  custom: {
    50: '#8987c7',
    500: '#5259ae',
    950: '#000000',
  },
}
SCSS
$custom: #5259ae;
$custom-light: #8987c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5259ae",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 235.435,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.13336,
    "h": 276.9
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#5259AE
secondary
#C2BF99
accent
#C45CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259AE

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

Preview Lab → · Contrast checker → · Palette generator →

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