#5259B3#5259B3

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

Color values

HEX#5259B3
RGBrgb(82, 89, 179)
HSLhsl(236, 39%, 51%)
HSVhsv(236, 54%, 70%)
CMYKcmyk(54.2%, 50.3%, 0%, 29.8%)
CIE-LABlab(41.52, 23.38, -48.91)
CIE-LCHlch(41.52, 54.21, 295.55°)
OKLaboklab(50.49% 0.0166 -0.1396)
OKLCHoklch(50.49% 0.141 276.8)
XYZxyz(15.1862, 12.1923, 44.1922)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259B3 #B3AC52
analogous
#5289B3 #5259B3 #7B52B3
triadic
#5259B3 #B35259 #59B352
tetradic
#5259B3 #B35289 #B3AC52 #52B37B
square
#5259B3 #B35289 #B3AC52 #52B37B
split-complementary
#5259B3 #B37B52 #89B352
monochromatic
#2A2E60 #3D438B #5259B3 #7D82C6 #A7ABD8

Accessibility & contrast

On white

6.11
#5259B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5259B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259B3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259B3#FFFFFF#000000##FFFFFF
##5259B31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B6
Deuteranopia (green-blind)
#205EB1
Tritanopia (blue-blind)
#246D7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5259b3;
/* rgb */ color: rgb(82, 89, 179);
/* oklch */ color: oklch(50.5% 0.141 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a87ca',
    500: '#5259b3',
    950: '#000000',
  },
}
SCSS
$custom: #5259b3;
$custom-light: #8a87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5259b3",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 235.67,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.14054,
    "h": 276.8
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#5259B3
secondary
#C6C39B
accent
#C659CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259B3

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

Preview Lab → · Contrast checker → · Palette generator →

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