#5339D9#5339D9

#5339D9 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.5% C 0.228 H 281.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5339D9
RGBrgb(83, 57, 217)
HSLhsl(250, 68%, 54%)
HSVhsv(250, 74%, 85%)
CMYKcmyk(61.8%, 73.7%, 0%, 14.9%)
CIE-LABlab(37.43, 54.41, -77.64)
CIE-LCHlch(37.43, 94.81, 305.02°)
OKLaboklab(48.45% 0.0438 -0.224)
OKLCHoklch(48.45% 0.228 281.1)
XYZxyz(17.5508, 9.7737, 66.5938)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339D9 #BFD939
analogous
#396FD9 #5339D9 #A339D9
triadic
#5339D9 #D95339 #39D953
tetradic
#5339D9 #D9396F #BFD939 #39D9A3
square
#5339D9 #D9396F #BFD939 #39D9A3
split-complementary
#5339D9 #D9A339 #6FD939
monochromatic
#29187F #3A22B3 #5339D9 #806CE3 #ACA0ED

Accessibility & contrast

On white

7.11
#5339D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5339D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339D9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339D9#FFFFFF#000000##FFFFFF
##5339D91.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5339d9;
/* rgb */ color: rgb(83, 57, 217);
/* oklch */ color: oklch(48.5% 0.228 281.1);
Tailwind
colors: {
  custom: {
    50: '#9373e6',
    500: '#5339d9',
    950: '#000000',
  },
}
SCSS
$custom: #5339d9;
$custom-light: #9373e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5339d9",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 249.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.22821,
    "h": 281.1
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#5339D9
secondary
#CED995
accent
#EB3DCE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5339D9

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

Preview Lab → · Contrast checker → · Palette generator →

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