#5259B2#5259B2

#5259B2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.139 H 276.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5259B2
RGBrgb(82, 89, 178)
HSLhsl(236, 38%, 51%)
HSVhsv(236, 54%, 70%)
CMYKcmyk(53.9%, 50%, 0%, 30.2%)
CIE-LABlab(41.46, 23.06, -48.42)
CIE-LCHlch(41.46, 53.63, 295.46°)
OKLaboklab(50.43% 0.0165 -0.1381)
OKLCHoklch(50.43% 0.139 276.8)
XYZxyz(15.0854, 12.1520, 43.6615)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259B2 #B2AB52
analogous
#5289B2 #5259B2 #7B52B2
triadic
#5259B2 #B25259 #59B252
tetradic
#5259B2 #B25289 #B2AB52 #52B27B
square
#5259B2 #B25289 #B2AB52 #52B27B
split-complementary
#5259B2 #B27B52 #89B252
monochromatic
#2A2E5F #3D438A #5259B2 #7C82C5 #A7AAD8

Accessibility & contrast

On white

6.12
#5259B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5259B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259B2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259B2#FFFFFF#000000##FFFFFF
##5259B21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#256D7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5259b2;
/* rgb */ color: rgb(82, 89, 178);
/* oklch */ color: oklch(50.4% 0.139 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a87c9',
    500: '#5259b2',
    950: '#000000',
  },
}
SCSS
$custom: #5259b2;
$custom-light: #8a87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5259b2",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 235.625,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.13911,
    "h": 276.8
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#5259B2
secondary
#C5C29B
accent
#C659CE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259B2

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

Preview Lab → · Contrast checker → · Palette generator →

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