#5259D7#5259D7

#5259D7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.190 H 275.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5259D7
RGBrgb(82, 89, 215)
HSLhsl(237, 62%, 58%)
HSVhsv(237, 62%, 84%)
CMYKcmyk(61.9%, 58.6%, 0%, 15.7%)
CIE-LABlab(44.01, 35.30, -65.74)
CIE-LCHlch(44.01, 74.62, 298.24°)
OKLaboklab(53.14% 0.018 -0.1891)
OKLCHoklch(53.14% 0.19 275.4)
XYZxyz(19.3138, 13.8433, 65.9310)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259D7 #D7D052
analogous
#529BD7 #5259D7 #8D52D7
triadic
#5259D7 #D75259 #59D752
tetradic
#5259D7 #D7529B #D7D052 #52D78D
square
#5259D7 #D7529B #D7D052 #52D78D
split-complementary
#5259D7 #D78D52 #9BD752
monochromatic
#21278E #2C34C0 #5259D7 #8489E2 #B5B8EE

Accessibility & contrast

On white

5.57
#5259D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5259D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259D7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259D7#FFFFFF#000000##FFFFFF
##5259D71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5259d7;
/* rgb */ color: rgb(82, 89, 215);
/* oklch */ color: oklch(53.1% 0.190 275.4);
Tailwind
colors: {
  custom: {
    50: '#9088e4',
    500: '#5259d7',
    950: '#000000',
  },
}
SCSS
$custom: #5259d7;
$custom-light: #9088e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5259d7",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 236.842,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.18993,
    "h": 275.4
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#5259D7
secondary
#DDDAA8
accent
#DD42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259D7

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

Preview Lab → · Contrast checker → · Palette generator →

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