#5259B6#5259B6

#5259B6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.145 H 276.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5259B6
RGBrgb(82, 89, 182)
HSLhsl(236, 41%, 52%)
HSVhsv(236, 55%, 71%)
CMYKcmyk(54.9%, 51.1%, 0%, 28.6%)
CIE-LABlab(41.71, 24.37, -50.36)
CIE-LCHlch(41.71, 55.94, 295.82°)
OKLaboklab(50.7% 0.0169 -0.1438)
OKLCHoklch(50.7% 0.145 276.7)
XYZxyz(15.4929, 12.3150, 45.8075)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259B6 #B6AF52
analogous
#528BB6 #5259B6 #7D52B6
triadic
#5259B6 #B65259 #59B652
tetradic
#5259B6 #B6528B #B6AF52 #52B67D
square
#5259B6 #B6528B #B6AF52 #52B67D
split-complementary
#5259B6 #B67D52 #8BB652
monochromatic
#2A2E64 #3C428F #5259B6 #7D82C8 #A8ACDA

Accessibility & contrast

On white

6.06
#5259B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5259B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259B6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259B6#FFFFFF#000000##FFFFFF
##5259B61.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967B9
Deuteranopia (green-blind)
#1A5EB4
Tritanopia (blue-blind)
#206E7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5259b6;
/* rgb */ color: rgb(82, 89, 182);
/* oklch */ color: oklch(50.7% 0.145 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a87cc',
    500: '#5259b6',
    950: '#000000',
  },
}
SCSS
$custom: #5259b6;
$custom-light: #8a87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5259b6",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 182
  },
  "hsl": {
    "h": 235.8,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.507,
    "c": 0.14481,
    "h": 276.7
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#5259B6
secondary
#C8C59C
accent
#C857D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259B6

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

Preview Lab → · Contrast checker → · Palette generator →

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