#5259B7#5259B7

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

Color values

HEX#5259B7
RGBrgb(82, 89, 183)
HSLhsl(236, 41%, 52%)
HSVhsv(236, 55%, 72%)
CMYKcmyk(55.2%, 51.4%, 0%, 28.2%)
CIE-LABlab(41.78, 24.70, -50.84)
CIE-LCHlch(41.78, 56.52, 295.91°)
OKLaboklab(50.77% 0.0169 -0.1452)
OKLCHoklch(50.77% 0.146 276.6)
XYZxyz(15.5966, 12.3564, 46.3537)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259B7 #B7B052
analogous
#528BB7 #5259B7 #7E52B7
triadic
#5259B7 #B75259 #59B752
tetradic
#5259B7 #B7528B #B7B052 #52B77E
square
#5259B7 #B7528B #B7B052 #52B77E
split-complementary
#5259B7 #B77E52 #8BB752
monochromatic
#2A2E65 #3C4290 #5259B7 #7D82C9 #A8ACDB

Accessibility & contrast

On white

6.05
#5259B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5259B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259B7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259B7#FFFFFF#000000##FFFFFF
##5259B71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#1F6E7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5259b7;
/* rgb */ color: rgb(82, 89, 183);
/* oklch */ color: oklch(50.8% 0.146 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b87cd',
    500: '#5259b7',
    950: '#000000',
  },
}
SCSS
$custom: #5259b7;
$custom-light: #8b87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5259b7",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 235.842,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.14622,
    "h": 276.6
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#5259B7
secondary
#C9C59C
accent
#C957D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259B7

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

Preview Lab → · Contrast checker → · Palette generator →

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