#5259A7#5259A7

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

Color values

HEX#5259A7
RGBrgb(82, 89, 167)
HSLhsl(235, 34%, 49%)
HSVhsv(235, 51%, 65%)
CMYKcmyk(50.9%, 46.7%, 0%, 34.5%)
CIE-LABlab(40.78, 19.47, -43.01)
CIE-LCHlch(40.78, 47.21, 294.36°)
OKLaboklab(49.7% 0.0152 -0.1222)
OKLCHoklch(49.7% 0.123 277.1)
XYZxyz(14.0249, 11.7278, 38.0764)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A7 #A7A052
analogous
#5284A7 #5259A7 #7652A7
triadic
#5259A7 #A75259 #59A752
tetradic
#5259A7 #A75284 #A7A052 #52A776
square
#5259A7 #A75284 #A7A052 #52A776
split-complementary
#5259A7 #A77652 #84A752
monochromatic
#2A2D55 #3E437E #5259A7 #797FBD #A2A6D1

Accessibility & contrast

On white

6.28
#5259A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5259A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259A7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259A7#FFFFFF#000000##FFFFFF
##5259A71.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#2F5DA5
Tritanopia (blue-blind)
#306A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5259a7;
/* rgb */ color: rgb(82, 89, 167);
/* oklch */ color: oklch(49.7% 0.123 277.1);
Tailwind
colors: {
  custom: {
    50: '#8887c1',
    500: '#5259a7',
    950: '#000000',
  },
}
SCSS
$custom: #5259a7;
$custom-light: #8887c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a7",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 167
  },
  "hsl": {
    "h": 235.059,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.12318,
    "h": 277.1
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5259A7

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

Preview Lab → · Contrast checker → · Palette generator →

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