#5252E0#5252E0

#5252E0 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.210 H 276.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5252E0
RGBrgb(82, 82, 224)
HSLhsl(240, 70%, 60%)
HSVhsv(240, 63%, 88%)
CMYKcmyk(63.4%, 63.4%, 0%, 12.2%)
CIE-LABlab(43.08, 42.50, -72.39)
CIE-LCHlch(43.08, 83.94, 300.41°)
OKLaboklab(52.68% 0.0235 -0.2087)
OKLCHoklch(52.68% 0.21 276.4)
XYZxyz(19.9471, 13.2086, 72.0049)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5252E0 #E0E052
analogous
#5299E0 #5252E0 #9952E0
triadic
#5252E0 #E05252 #52E052
tetradic
#5252E0 #E05299 #E0E052 #52E099
square
#5252E0 #E05299 #E0E052 #52E099
split-complementary
#5252E0 #E09952 #99E052
monochromatic
#1C1C9C #2525D0 #5252E0 #8686E9 #BABAF3

Accessibility & contrast

On white

5.77
#5252E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5252E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5252E0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5252E0#FFFFFF#000000##FFFFFF
##5252E01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5252e0;
/* rgb */ color: rgb(82, 82, 224);
/* oklch */ color: oklch(52.7% 0.210 276.4);
Tailwind
colors: {
  custom: {
    50: '#9283eb',
    500: '#5252e0',
    950: '#000000',
  },
}
SCSS
$custom: #5252e0;
$custom-light: #9283eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5252e0",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 240,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.20997,
    "h": 276.4
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#5252E0
secondary
#E2E2AC
accent
#EC3BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5252E0

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

Preview Lab → · Contrast checker → · Palette generator →

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