#5259C7#5259C7

#5259C7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.168 H 276.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5259C7
RGBrgb(82, 89, 199)
HSLhsl(236, 51%, 55%)
HSVhsv(236, 59%, 78%)
CMYKcmyk(58.8%, 55.3%, 0%, 22%)
CIE-LABlab(42.85, 29.99, -58.41)
CIE-LCHlch(42.85, 65.66, 297.18°)
OKLaboklab(51.92% 0.0178 -0.1675)
OKLCHoklch(51.92% 0.168 276.1)
XYZxyz(17.3575, 13.0608, 55.6281)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259C7 #C7C052
analogous
#5294C7 #5259C7 #8552C7
triadic
#5259C7 #C75259 #59C752
tetradic
#5259C7 #C75294 #C7C052 #52C785
square
#5259C7 #C75294 #C7C052 #52C785
split-complementary
#5259C7 #C78552 #94C752
monochromatic
#272C78 #363CA6 #5259C7 #8085D6 #AEB2E5

Accessibility & contrast

On white

5.81
#5259C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5259C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259C7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259C7#FFFFFF#000000##FFFFFF
##5259C71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ACB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5259c7;
/* rgb */ color: rgb(82, 89, 199);
/* oklch */ color: oklch(51.9% 0.168 276.1);
Tailwind
colors: {
  custom: {
    50: '#8d87d9',
    500: '#5259c7',
    950: '#000000',
  },
}
SCSS
$custom: #5259c7;
$custom-light: #8d87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5259c7",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 199
  },
  "hsl": {
    "h": 236.41,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.16847,
    "h": 276.1
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#5259C7
secondary
#D3D0A2
accent
#D24DDB
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5259C7

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

Preview Lab → · Contrast checker → · Palette generator →

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