#5259DE#5259DE

#5259DE is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.199 H 275.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5259DE
RGBrgb(82, 89, 222)
HSLhsl(237, 68%, 60%)
HSVhsv(237, 63%, 87%)
CMYKcmyk(63.1%, 59.9%, 0%, 12.9%)
CIE-LABlab(44.53, 37.62, -68.88)
CIE-LCHlch(44.53, 78.48, 298.64°)
OKLaboklab(53.7% 0.0179 -0.1983)
OKLCHoklch(53.7% 0.199 275.1)
XYZxyz(20.2325, 14.2108, 70.7698)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259DE #DED752
analogous
#529FDE #5259DE #9152DE
triadic
#5259DE #DE5259 #59DE52
tetradic
#5259DE #DE529F #DED752 #52DE91
square
#5259DE #DE529F #DED752 #52DE91
split-complementary
#5259DE #DE9152 #9FDE52
monochromatic
#1D2399 #272FCC #5259DE #858AE8 #B9BCF2

Accessibility & contrast

On white

5.47
#5259DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5259DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259DE#FFFFFF#000000##FFFFFF
##5259DE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0063DB
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5259de;
/* rgb */ color: rgb(82, 89, 222);
/* oklch */ color: oklch(53.7% 0.199 275.1);
Tailwind
colors: {
  custom: {
    50: '#9188e9',
    500: '#5259de',
    950: '#000000',
  },
}
SCSS
$custom: #5259de;
$custom-light: #9188e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5259de",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 237,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.19909,
    "h": 275.1
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#5259DE
secondary
#E1DEAB
accent
#E23DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259DE

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

Preview Lab → · Contrast checker → · Palette generator →

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