#5259E4#5259E4

#5259E4 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.207 H 274.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5259E4
RGBrgb(82, 89, 228)
HSLhsl(237, 73%, 61%)
HSVhsv(237, 64%, 89%)
CMYKcmyk(64%, 61%, 0%, 10.6%)
CIE-LABlab(45.00, 39.61, -71.53)
CIE-LCHlch(45.00, 81.76, 298.97°)
OKLaboklab(54.18% 0.0177 -0.2061)
OKLCHoklch(54.18% 0.207 274.9)
XYZxyz(21.0510, 14.5382, 75.0805)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259E4 #E4DD52
analogous
#52A2E4 #5259E4 #9452E4
triadic
#5259E4 #E45259 #59E452
tetradic
#5259E4 #E452A2 #E4DD52 #52E494
square
#5259E4 #E452A2 #E4DD52 #52E494
split-complementary
#5259E4 #E49452 #A2E452
monochromatic
#1920A2 #222AD7 #5259E4 #878CEC #BCBFF5

Accessibility & contrast

On white

5.37
#5259E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5259E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259E4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259E4#FFFFFF#000000##FFFFFF
##5259E41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5259e4;
/* rgb */ color: rgb(82, 89, 228);
/* oklch */ color: oklch(54.2% 0.207 274.9);
Tailwind
colors: {
  custom: {
    50: '#9288ee',
    500: '#5259e4',
    950: '#000000',
  },
}
SCSS
$custom: #5259e4;
$custom-light: #9288ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5259e4",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 237.123,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.20685,
    "h": 274.9
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#5259E4
secondary
#E5E2AD
accent
#CC10D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5259E4

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

Preview Lab → · Contrast checker → · Palette generator →

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