#5338DD#5338DD

#5338DD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.7% C 0.234 H 280.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5338DD
RGBrgb(83, 56, 221)
HSLhsl(250, 71%, 54%)
HSVhsv(250, 75%, 87%)
CMYKcmyk(62.4%, 74.7%, 0%, 13.3%)
CIE-LABlab(37.64, 56.09, -79.60)
CIE-LCHlch(37.64, 97.37, 305.17°)
OKLaboklab(48.71% 0.0435 -0.2297)
OKLCHoklch(48.71% 0.234 280.7)
XYZxyz(18.0285, 9.8864, 69.3508)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5338DD #C2DD38
analogous
#3870DD #5338DD #A538DD
triadic
#5338DD #DD5338 #38DD53
tetradic
#5338DD #DD3870 #C2DD38 #38DDA5
square
#5338DD #DD3870 #C2DD38 #38DDA5
split-complementary
#5338DD #DDA538 #70DD38
monochromatic
#281784 #381FB8 #5338DD #806CE6 #ADA1EF

Accessibility & contrast

On white

7.05
#5338DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5338DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5338DD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5338DD#FFFFFF#000000##FFFFFF
##5338DD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5338dd;
/* rgb */ color: rgb(83, 56, 221);
/* oklch */ color: oklch(48.7% 0.234 280.7);
Tailwind
colors: {
  custom: {
    50: '#9472e9',
    500: '#5338dd',
    950: '#000000',
  },
}
SCSS
$custom: #5338dd;
$custom-light: #9472e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5338dd",
  "rgb": {
    "r": 83,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 249.818,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.23376,
    "h": 280.7
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#5338DD
secondary
#D0DB95
accent
#EE3AD0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5338DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5338DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva