#5259C4#5259C4

#5259C4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.164 H 276.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5259C4
RGBrgb(82, 89, 196)
HSLhsl(236, 49%, 55%)
HSVhsv(236, 58%, 77%)
CMYKcmyk(58.2%, 54.6%, 0%, 23.1%)
CIE-LABlab(42.65, 28.99, -57.01)
CIE-LCHlch(42.65, 63.96, 296.96°)
OKLaboklab(51.7% 0.0177 -0.1634)
OKLCHoklch(51.7% 0.164 276.2)
XYZxyz(17.0126, 12.9229, 53.8117)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259C4 #C4BD52
analogous
#5292C4 #5259C4 #8452C4
triadic
#5259C4 #C45259 #59C452
tetradic
#5259C4 #C45292 #C4BD52 #52C484
square
#5259C4 #C45292 #C4BD52 #52C484
split-complementary
#5259C4 #C48452 #92C452
monochromatic
#282C74 #373EA2 #5259C4 #8085D4 #ADB1E3

Accessibility & contrast

On white

5.86
#5259C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5259C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259C4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259C4#FFFFFF#000000##FFFFFF
##5259C41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6AC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5259c4;
/* rgb */ color: rgb(82, 89, 196);
/* oklch */ color: oklch(51.7% 0.164 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d87d7',
    500: '#5259c4',
    950: '#000000',
  },
}
SCSS
$custom: #5259c4;
$custom-light: #8d87d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5259c4",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 196
  },
  "hsl": {
    "h": 236.316,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.517,
    "c": 0.16436,
    "h": 276.2
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#5259C4
secondary
#D1CEA1
accent
#D04FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5259C4

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

Preview Lab → · Contrast checker → · Palette generator →

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