#5259C1#5259C1

#5259C1 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.160 H 276.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5259C1
RGBrgb(82, 89, 193)
HSLhsl(236, 47%, 54%)
HSVhsv(236, 58%, 76%)
CMYKcmyk(57.5%, 53.9%, 0%, 24.3%)
CIE-LABlab(42.44, 28.00, -55.60)
CIE-LCHlch(42.44, 62.25, 296.73°)
OKLaboklab(51.48% 0.0176 -0.1592)
OKLCHoklch(51.48% 0.16 276.3)
XYZxyz(16.6746, 12.7877, 52.0313)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259C1 #C1BA52
analogous
#5291C1 #5259C1 #8352C1
triadic
#5259C1 #C15259 #59C152
tetradic
#5259C1 #C15291 #C1BA52 #52C183
square
#5259C1 #C15291 #C1BA52 #52C183
split-complementary
#5259C1 #C18352 #91C152
monochromatic
#282D70 #383F9D #5259C1 #7F84D1 #ACAFE1

Accessibility & contrast

On white

5.90
#5259C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5259C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259C1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259C1#FFFFFF#000000##FFFFFF
##5259C11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#0A7184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5259c1;
/* rgb */ color: rgb(82, 89, 193);
/* oklch */ color: oklch(51.5% 0.160 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c87d4',
    500: '#5259c1',
    950: '#000000',
  },
}
SCSS
$custom: #5259c1;
$custom-light: #8c87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5259c1",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 236.216,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51481,
    "c": 0.16022,
    "h": 276.3
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#5259C1
secondary
#CFCCA0
accent
#CE51D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5259C1

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

Preview Lab → · Contrast checker → · Palette generator →

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