#5259B8#5259B8

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

Color values

HEX#5259B8
RGBrgb(82, 89, 184)
HSLhsl(236, 42%, 52%)
HSVhsv(236, 55%, 72%)
CMYKcmyk(55.4%, 51.6%, 0%, 27.8%)
CIE-LABlab(41.84, 25.03, -51.32)
CIE-LCHlch(41.84, 57.10, 296.00°)
OKLaboklab(50.84% 0.017 -0.1467)
OKLCHoklch(50.84% 0.148 276.6)
XYZxyz(15.7010, 12.3982, 46.9038)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259B8 #B8B152
analogous
#528CB8 #5259B8 #7E52B8
triadic
#5259B8 #B85259 #59B852
tetradic
#5259B8 #B8528C #B8B152 #52B87E
square
#5259B8 #B8528C #B8B152 #52B87E
split-complementary
#5259B8 #B87E52 #8CB852
monochromatic
#2A2E66 #3C4191 #5259B8 #7D83CA #A9ACDC

Accessibility & contrast

On white

6.03
#5259B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5259B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259B8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259B8#FFFFFF#000000##FFFFFF
##5259B81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#155FB6
Tritanopia (blue-blind)
#1D6E80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5259b8;
/* rgb */ color: rgb(82, 89, 184);
/* oklch */ color: oklch(50.8% 0.148 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b87ce',
    500: '#5259b8',
    950: '#000000',
  },
}
SCSS
$custom: #5259b8;
$custom-light: #8b87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5259b8",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 235.882,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.14764,
    "h": 276.6
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#5259B8
secondary
#C9C69D
accent
#C956D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #5259B8

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

Preview Lab → · Contrast checker → · Palette generator →

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