#5239FC#5239FC

#5239FC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.8% C 0.268 H 277.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5239FC
RGBrgb(82, 57, 252)
HSLhsl(248, 97%, 61%)
HSVhsv(248, 77%, 99%)
CMYKcmyk(67.5%, 77.4%, 0%, 1.2%)
CIE-LABlab(40.81, 64.47, -91.92)
CIE-LCHlch(40.81, 112.27, 305.04°)
OKLaboklab(51.83% 0.034 -0.2656)
OKLCHoklch(51.83% 0.268 277.3)
XYZxyz(22.5078, 11.7464, 93.1577)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5239FC #E3FC39
analogous
#3982FC #5239FC #B339FC
triadic
#5239FC #FC5239 #39FC52
tetradic
#5239FC #FC3982 #E3FC39 #39FCB3
square
#5239FC #FC3982 #E3FC39 #39FCB3
split-complementary
#5239FC #FCB339 #82FC39
monochromatic
#1A03B8 #2304F4 #5239FC #8775FD #BBB2FE

Accessibility & contrast

On white

6.27
#5239FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5239FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5239FC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5239FC#FFFFFF#000000##FFFFFF
##5239FC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068FF
Deuteranopia (green-blind)
#0058F9
Tritanopia (blue-blind)
#00749A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5239fc;
/* rgb */ color: rgb(82, 57, 252);
/* oklch */ color: oklch(51.8% 0.268 277.3);
Tailwind
colors: {
  custom: {
    50: '#9974ff',
    500: '#5239fc',
    950: '#000000',
  },
}
SCSS
$custom: #5239fc;
$custom-light: #9974ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5239fc",
  "rgb": {
    "r": 82,
    "g": 57,
    "b": 252
  },
  "hsl": {
    "h": 247.692,
    "s": 97.015,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.26778,
    "h": 277.3
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#5239FC
secondary
#E4EDA3
accent
#E600C8
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #5239FC

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

Preview Lab → · Contrast checker → · Palette generator →

#5239FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva