#5259A1#5259A1

#5259A1 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.3% C 0.114 H 277.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5259A1
RGBrgb(82, 89, 161)
HSLhsl(235, 33%, 48%)
HSVhsv(235, 49%, 63%)
CMYKcmyk(49.1%, 44.7%, 0%, 36.9%)
CIE-LABlab(40.43, 17.54, -40.00)
CIE-LCHlch(40.43, 43.68, 293.68°)
OKLaboklab(49.31% 0.0142 -0.1134)
OKLCHoklch(49.31% 0.114 277.2)
XYZxyz(13.4831, 11.5111, 35.2227)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259A1 #A19A52
analogous
#5280A1 #5259A1 #7352A1
triadic
#5259A1 #A15259 #59A152
tetradic
#5259A1 #A15280 #A19A52 #52A173
square
#5259A1 #A15280 #A19A52 #52A173
split-complementary
#5259A1 #A17352 #80A152
monochromatic
#292C50 #3D4378 #5259A1 #777DBA #9FA3CE

Accessibility & contrast

On white

6.36
#5259A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5259A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259A1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259A1#FFFFFF#000000##FFFFFF
##5259A11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A4
Deuteranopia (green-blind)
#355C9F
Tritanopia (blue-blind)
#346875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5259a1;
/* rgb */ color: rgb(82, 89, 161);
/* oklch */ color: oklch(49.3% 0.114 277.2);
Tailwind
colors: {
  custom: {
    50: '#8787bd',
    500: '#5259a1',
    950: '#000000',
  },
}
SCSS
$custom: #5259a1;
$custom-light: #8787bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5259a1",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 161
  },
  "hsl": {
    "h": 234.684,
    "s": 32.51,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.11432,
    "h": 277.2
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#5259A1
secondary
#BBB893
accent
#BF5FC9
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5259A1

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

Preview Lab → · Contrast checker → · Palette generator →

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