#5259E0#5259E0

#5259E0 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.9% C 0.202 H 275.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5259E0
RGBrgb(82, 89, 224)
HSLhsl(237, 70%, 60%)
HSVhsv(237, 63%, 88%)
CMYKcmyk(63.4%, 60.3%, 0%, 12.2%)
CIE-LABlab(44.69, 38.28, -69.76)
CIE-LCHlch(44.69, 79.58, 298.76°)
OKLaboklab(53.86% 0.0178 -0.2009)
OKLCHoklch(53.86% 0.202 275.1)
XYZxyz(20.5022, 14.3187, 72.1899)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259E0 #E0D952
analogous
#52A0E0 #5259E0 #9252E0
triadic
#5259E0 #E05259 #59E052
tetradic
#5259E0 #E052A0 #E0D952 #52E092
square
#5259E0 #E052A0 #E0D952 #52E092
split-complementary
#5259E0 #E09252 #A0E052
monochromatic
#1C229C #252ED0 #5259E0 #868BE9 #BABDF3

Accessibility & contrast

On white

5.43
#5259E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5259E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259E0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259E0#FFFFFF#000000##FFFFFF
##5259E01.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5259e0;
/* rgb */ color: rgb(82, 89, 224);
/* oklch */ color: oklch(53.9% 0.202 275.1);
Tailwind
colors: {
  custom: {
    50: '#9188eb',
    500: '#5259e0',
    950: '#000000',
  },
}
SCSS
$custom: #5259e0;
$custom-light: #9188eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5259e0",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 224
  },
  "hsl": {
    "h": 237.042,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.20169,
    "h": 275.1
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#5259E0
secondary
#E2E0AC
accent
#E43BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259E0

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

Preview Lab → · Contrast checker → · Palette generator →

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