#5339F2#5339F2

#5339F2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.9% C 0.257 H 278.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5339F2
RGBrgb(83, 57, 242)
HSLhsl(248, 88%, 59%)
HSVhsv(248, 76%, 95%)
CMYKcmyk(65.7%, 76.4%, 0%, 5.1%)
CIE-LABlab(39.87, 61.69, -87.85)
CIE-LCHlch(39.87, 107.35, 305.08°)
OKLaboklab(50.89% 0.0378 -0.2537)
OKLCHoklch(50.89% 0.257 278.5)
XYZxyz(21.0523, 11.1743, 85.0346)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339F2 #D8F239
analogous
#397BF2 #5339F2 #AF39F2
triadic
#5339F2 #F25339 #39F253
tetradic
#5339F2 #F2397B #D8F239 #39F2AF
square
#5339F2 #F2397B #D8F239 #39F2AF
split-complementary
#5339F2 #F2AF39 #7BF239
monochromatic
#210BA6 #2C0FDF #5339F2 #8572F6 #B7ACFA

Accessibility & contrast

On white

6.49
#5339F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5339F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5339F2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339F2#FFFFFF#000000##FFFFFF
##5339F21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065F7
Deuteranopia (green-blind)
#0056EF
Tritanopia (blue-blind)
#007095
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5339f2;
/* rgb */ color: rgb(83, 57, 242);
/* oklch */ color: oklch(50.9% 0.257 278.5);
Tailwind
colors: {
  custom: {
    50: '#9774f8',
    500: '#5339f2',
    950: '#000000',
  },
}
SCSS
$custom: #5339f2;
$custom-light: #9774f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5339f2",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 248.432,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.25655,
    "h": 278.5
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#5339F2
secondary
#DEE89F
accent
#FE2AE0
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5339F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5339F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva