#5259B9#5259B9

#5259B9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.149 H 276.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5259B9
RGBrgb(82, 89, 185)
HSLhsl(236, 42%, 52%)
HSVhsv(236, 56%, 73%)
CMYKcmyk(55.7%, 51.9%, 0%, 27.5%)
CIE-LABlab(41.91, 25.36, -51.80)
CIE-LCHlch(41.91, 57.67, 296.08°)
OKLaboklab(50.91% 0.0171 -0.1481)
OKLCHoklch(50.91% 0.149 276.6)
XYZxyz(15.8062, 12.4403, 47.4578)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259B9 #B9B252
analogous
#528DB9 #5259B9 #7E52B9
triadic
#5259B9 #B95259 #59B952
tetradic
#5259B9 #B9528D #B9B252 #52B97E
square
#5259B9 #B9528D #B9B252 #52B97E
split-complementary
#5259B9 #B97E52 #8DB952
monochromatic
#2A2E67 #3B4193 #5259B9 #7E83CB #A9ADDC

Accessibility & contrast

On white

6.02
#5259B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5259B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259B9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259B9#FFFFFF#000000##FFFFFF
##5259B91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BC
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#1C6F80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5259b9;
/* rgb */ color: rgb(82, 89, 185);
/* oklch */ color: oklch(50.9% 0.149 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b87cf',
    500: '#5259b9',
    950: '#000000',
  },
}
SCSS
$custom: #5259b9;
$custom-light: #8b87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5259b9",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 185
  },
  "hsl": {
    "h": 235.922,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.14905,
    "h": 276.6
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#5259B9
secondary
#CAC79D
accent
#CA56D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #5259B9

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

Preview Lab → · Contrast checker → · Palette generator →

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