#5259E1#5259E1

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

Color values

HEX#5259E1
RGBrgb(82, 89, 225)
HSLhsl(237, 70%, 60%)
HSVhsv(237, 64%, 88%)
CMYKcmyk(63.6%, 60.4%, 0%, 11.8%)
CIE-LABlab(44.76, 38.61, -70.21)
CIE-LCHlch(44.76, 80.12, 298.81°)
OKLaboklab(53.94% 0.0178 -0.2022)
OKLCHoklch(53.94% 0.203 275)
XYZxyz(20.6382, 14.3731, 72.9063)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259E1 #E1DA52
analogous
#52A0E1 #5259E1 #9252E1
triadic
#5259E1 #E15259 #59E152
tetradic
#5259E1 #E152A0 #E1DA52 #52E192
square
#5259E1 #E152A0 #E1DA52 #52E192
split-complementary
#5259E1 #E19252 #A0E152
monochromatic
#1B229D #242DD1 #5259E1 #868BEA #BABDF3

Accessibility & contrast

On white

5.42
#5259E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5259E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259E1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259E1#FFFFFF#000000##FFFFFF
##5259E11.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5259e1;
/* rgb */ color: rgb(82, 89, 225);
/* oklch */ color: oklch(53.9% 0.203 275.0);
Tailwind
colors: {
  custom: {
    50: '#9288eb',
    500: '#5259e1',
    950: '#000000',
  },
}
SCSS
$custom: #5259e1;
$custom-light: #9288eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5259e1",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 237.063,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.20298,
    "h": 275
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#5259E1
secondary
#E3E0AC
accent
#C913D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259E1

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

Preview Lab → · Contrast checker → · Palette generator →

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