#5338FF#5338FF

#5338FF is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 52.1% C 0.272 H 277.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5338FF
RGBrgb(83, 56, 255)
HSLhsl(248, 100%, 61%)
HSVhsv(248, 78%, 100%)
CMYKcmyk(67.5%, 78%, 0%, 0%)
CIE-LABlab(41.03, 65.86, -93.22)
CIE-LCHlch(41.03, 114.14, 305.24°)
OKLaboklab(52.09% 0.035 -0.2694)
OKLCHoklch(52.09% 0.272 277.4)
XYZxyz(23.0256, 11.8853, 95.6690)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5338FF #E4FF38
analogous
#3880FF #5338FF #B738FF
triadic
#5338FF #FF5338 #38FF53
tetradic
#5338FF #FF3880 #E4FF38 #38FFB7
square
#5338FF #FF3880 #E4FF38 #38FFB7
split-complementary
#5338FF #FFB738 #80FF38
monochromatic
#1A00BD #2200FA #5338FF #8875FF #BDB2FF

Accessibility & contrast

On white

6.22
#5338FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5338FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5338FF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5338FF#FFFFFF#000000##FFFFFF
##5338FF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#0058FC
Tritanopia (blue-blind)
#00759C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5338ff;
/* rgb */ color: rgb(83, 56, 255);
/* oklch */ color: oklch(52.1% 0.272 277.4);
Tailwind
colors: {
  custom: {
    50: '#9a74ff',
    500: '#5338ff',
    950: '#000000',
  },
}
SCSS
$custom: #5338ff;
$custom-light: #9a74ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5338ff",
  "rgb": {
    "r": 83,
    "g": 56,
    "b": 255
  },
  "hsl": {
    "h": 248.141,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.27164,
    "h": 277.4
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#5338FF
secondary
#E5EFA4
accent
#E600C6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #5338FF

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

Preview Lab → · Contrast checker → · Palette generator →

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