#5255E0#5255E0

#5255E0 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.2% C 0.206 H 275.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5255E0
RGBrgb(82, 85, 224)
HSLhsl(239, 70%, 60%)
HSVhsv(239, 63%, 88%)
CMYKcmyk(63.4%, 62.1%, 0%, 12.2%)
CIE-LABlab(43.76, 40.70, -71.28)
CIE-LCHlch(43.76, 82.08, 299.73°)
OKLaboklab(53.17% 0.0211 -0.2054)
OKLCHoklch(53.17% 0.206 275.9)
XYZxyz(20.1783, 13.6710, 72.0820)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5255E0 #E0DD52
analogous
#529CE0 #5255E0 #9652E0
triadic
#5255E0 #E05255 #55E052
tetradic
#5255E0 #E0529C #E0DD52 #52E096
square
#5255E0 #E0529C #E0DD52 #52E096
split-complementary
#5255E0 #E09652 #9CE052
monochromatic
#1C1F9C #2529D0 #5255E0 #8688E9 #BABBF3

Accessibility & contrast

On white

5.62
#5255E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5255E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5255E0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5255E0#FFFFFF#000000##FFFFFF
##5255E01.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5255e0;
/* rgb */ color: rgb(82, 85, 224);
/* oklch */ color: oklch(53.2% 0.206 275.9);
Tailwind
colors: {
  custom: {
    50: '#9285eb',
    500: '#5255e0',
    950: '#000000',
  },
}
SCSS
$custom: #5255e0;
$custom-light: #9285eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5255e0",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 224
  },
  "hsl": {
    "h": 238.732,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.20646,
    "h": 275.9
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#5255E0
secondary
#E2E1AC
accent
#E93BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5255E0

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

Preview Lab → · Contrast checker → · Palette generator →

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