#5259E2#5259E2

#5259E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.0% C 0.204 H 275.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5259E2
RGBrgb(82, 89, 226)
HSLhsl(237, 71%, 60%)
HSVhsv(237, 64%, 89%)
CMYKcmyk(63.7%, 60.6%, 0%, 11.4%)
CIE-LABlab(44.84, 38.95, -70.65)
CIE-LCHlch(44.84, 80.67, 298.87°)
OKLaboklab(54.02% 0.0177 -0.2035)
OKLCHoklch(54.02% 0.204 275)
XYZxyz(20.7750, 14.4278, 73.6268)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259E2 #E2DB52
analogous
#52A1E2 #5259E2 #9352E2
triadic
#5259E2 #E25259 #59E252
tetradic
#5259E2 #E252A1 #E2DB52 #52E293
square
#5259E2 #E252A1 #E2DB52 #52E293
split-complementary
#5259E2 #E29352 #A1E252
monochromatic
#1B219F #232CD3 #5259E2 #868BEB #BBBEF4

Accessibility & contrast

On white

5.40
#5259E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5259E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259E2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259E2#FFFFFF#000000##FFFFFF
##5259E21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5259e2;
/* rgb */ color: rgb(82, 89, 226);
/* oklch */ color: oklch(54.0% 0.204 275.0);
Tailwind
colors: {
  custom: {
    50: '#9288ec',
    500: '#5259e2',
    950: '#000000',
  },
}
SCSS
$custom: #5259e2;
$custom-light: #9288ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5259e2",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 237.083,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.20427,
    "h": 275
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#5259E2
secondary
#E3E1AC
accent
#CA12D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259E2

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

Preview Lab → · Contrast checker → · Palette generator →

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