#5258E1#5258E1

#5258E1 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.204 H 275.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5258E1
RGBrgb(82, 88, 225)
HSLhsl(237, 70%, 60%)
HSVhsv(237, 64%, 88%)
CMYKcmyk(63.6%, 60.9%, 0%, 11.8%)
CIE-LABlab(44.53, 39.22, -70.59)
CIE-LCHlch(44.53, 80.75, 299.06°)
OKLaboklab(53.76% 0.0186 -0.2033)
OKLCHoklch(53.76% 0.204 275.2)
XYZxyz(20.5555, 14.2078, 72.8787)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5258E1 #E1DB52
analogous
#529FE1 #5258E1 #9452E1
triadic
#5258E1 #E15258 #58E152
tetradic
#5258E1 #E1529F #E1DB52 #52E194
square
#5258E1 #E1529F #E1DB52 #52E194
split-complementary
#5258E1 #E19452 #9FE152
monochromatic
#1B219D #242CD1 #5258E1 #868AEA #BABDF3

Accessibility & contrast

On white

5.47
#5258E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5258E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5258E1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5258E1#FFFFFF#000000##FFFFFF
##5258E11.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)
#0070E5
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5258e1;
/* rgb */ color: rgb(82, 88, 225);
/* oklch */ color: oklch(53.8% 0.204 275.2);
Tailwind
colors: {
  custom: {
    50: '#9287eb',
    500: '#5258e1',
    950: '#000000',
  },
}
SCSS
$custom: #5258e1;
$custom-light: #9287eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5258e1",
  "rgb": {
    "r": 82,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 237.483,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.20418,
    "h": 275.2
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#5258E1
secondary
#E3E1AC
accent
#CA13D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5258E1

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

Preview Lab → · Contrast checker → · Palette generator →

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