#5252F3#5252F3

#5252F3 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.234 H 275.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5252F3
RGBrgb(82, 82, 243)
HSLhsl(240, 87%, 64%)
HSVhsv(240, 66%, 95%)
CMYKcmyk(66.3%, 66.3%, 0%, 4.7%)
CIE-LABlab(44.66, 48.63, -80.54)
CIE-LCHlch(44.66, 94.08, 301.12°)
OKLaboklab(54.31% 0.0217 -0.2325)
OKLCHoklch(54.31% 0.234 275.3)
XYZxyz(22.6693, 14.2975, 86.3417)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5252F3 #F3F352
analogous
#52A2F3 #5252F3 #A252F3
triadic
#5252F3 #F35252 #52F352
tetradic
#5252F3 #F352A2 #F3F352 #52F3A2
square
#5252F3 #F352A2 #F3F352 #52F3A2
split-complementary
#5252F3 #F3A252 #A2F352
monochromatic
#0D0DBD #1919EF #5252F3 #8B8BF7 #C4C4FB

Accessibility & contrast

On white

5.44
#5252F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5252F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5252F3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5252F3#FFFFFF#000000##FFFFFF
##5252F31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F8
Deuteranopia (green-blind)
#0062F0
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5252f3;
/* rgb */ color: rgb(82, 82, 243);
/* oklch */ color: oklch(54.3% 0.234 275.3);
Tailwind
colors: {
  custom: {
    50: '#9583f8',
    500: '#5252f3',
    950: '#000000',
  },
}
SCSS
$custom: #5252f3;
$custom-light: #9583f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5252f3",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.23355,
    "h": 275.3
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#5252F3
secondary
#EDEDB4
accent
#E402E4
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5252F3

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

Preview Lab → · Contrast checker → · Palette generator →

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