#5259E5#5259E5

#5259E5 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.208 H 274.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5259E5
RGBrgb(82, 89, 229)
HSLhsl(237, 74%, 61%)
HSVhsv(237, 64%, 90%)
CMYKcmyk(64.2%, 61.1%, 0%, 10.2%)
CIE-LABlab(45.07, 39.94, -71.97)
CIE-LCHlch(45.07, 82.31, 299.03°)
OKLaboklab(54.26% 0.0176 -0.2074)
OKLCHoklch(54.26% 0.208 274.9)
XYZxyz(21.1903, 14.5939, 75.8138)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259E5 #E5DE52
analogous
#52A2E5 #5259E5 #9452E5
triadic
#5259E5 #E55259 #59E552
tetradic
#5259E5 #E552A2 #E5DE52 #52E594
square
#5259E5 #E552A2 #E5DE52 #52E594
split-complementary
#5259E5 #E59452 #A2E552
monochromatic
#191FA4 #2129D9 #5259E5 #878CED #BCBFF5

Accessibility & contrast

On white

5.36
#5259E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5259E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259E5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259E5#FFFFFF#000000##FFFFFF
##5259E51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5259e5;
/* rgb */ color: rgb(82, 89, 229);
/* oklch */ color: oklch(54.3% 0.208 274.9);
Tailwind
colors: {
  custom: {
    50: '#9288ee',
    500: '#5259e5',
    950: '#000000',
  },
}
SCSS
$custom: #5259e5;
$custom-light: #9288ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5259e5",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 237.143,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.20813,
    "h": 274.9
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#5259E5
secondary
#E5E2AE
accent
#CD10D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259E5

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

Preview Lab → · Contrast checker → · Palette generator →

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