#5259C0#5259C0

#5259C0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.159 H 276.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5259C0
RGBrgb(82, 89, 192)
HSLhsl(236, 47%, 54%)
HSVhsv(236, 57%, 75%)
CMYKcmyk(57.3%, 53.6%, 0%, 24.7%)
CIE-LABlab(42.37, 27.67, -55.13)
CIE-LCHlch(42.37, 61.68, 296.65°)
OKLaboklab(51.41% 0.0175 -0.1579)
OKLCHoklch(51.41% 0.159 276.3)
XYZxyz(16.5634, 12.7432, 51.4458)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259C0 #C0B952
analogous
#5290C0 #5259C0 #8252C0
triadic
#5259C0 #C05259 #59C052
tetradic
#5259C0 #C05290 #C0B952 #52C082
square
#5259C0 #C05290 #C0B952 #52C082
split-complementary
#5259C0 #C08252 #90C052
monochromatic
#282D6F #393F9C #5259C0 #7F84D0 #ACAFE1

Accessibility & contrast

On white

5.92
#5259C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5259C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259C0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259C0#FFFFFF#000000##FFFFFF
##5259C01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C4
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#0D7184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5259c0;
/* rgb */ color: rgb(82, 89, 192);
/* oklch */ color: oklch(51.4% 0.159 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c87d4',
    500: '#5259c0',
    950: '#000000',
  },
}
SCSS
$custom: #5259c0;
$custom-light: #8c87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5259c0",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 192
  },
  "hsl": {
    "h": 236.182,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.15883,
    "h": 276.3
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#5259C0
secondary
#CECB9F
accent
#CE52D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5259C0

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

Preview Lab → · Contrast checker → · Palette generator →

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