#5337E5#5337E5

#5337E5 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 49.4% C 0.244 H 280.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5337E5
RGBrgb(83, 55, 229)
HSLhsl(250, 77%, 56%)
HSVhsv(250, 76%, 90%)
CMYKcmyk(63.8%, 76%, 0%, 10.2%)
CIE-LABlab(38.25, 58.90, -83.17)
CIE-LCHlch(38.25, 101.91, 305.31°)
OKLaboklab(49.37% 0.0421 -0.2401)
OKLCHoklch(49.37% 0.244 280)
XYZxyz(19.0718, 10.2270, 75.0825)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337E5 #C9E537
analogous
#3772E5 #5337E5 #AA37E5
triadic
#5337E5 #E55337 #37E553
tetradic
#5337E5 #E53772 #C9E537 #37E5AA
square
#5337E5 #E53772 #C9E537 #37E5AA
split-complementary
#5337E5 #E5AA37 #72E537
monochromatic
#27138F #351AC5 #5337E5 #826DEC #B0A3F3

Accessibility & contrast

On white

6.89
#5337E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5337E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5337E5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337E5#FFFFFF#000000##FFFFFF
##5337E51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060EA
Deuteranopia (green-blind)
#0053E2
Tritanopia (blue-blind)
#006A8D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5337e5;
/* rgb */ color: rgb(83, 55, 229);
/* oklch */ color: oklch(49.4% 0.244 280.0);
Tailwind
colors: {
  custom: {
    50: '#9572ef',
    500: '#5337e5',
    950: '#000000',
  },
}
SCSS
$custom: #5337e5;
$custom-light: #9572ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5337e5",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 249.655,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.24375,
    "h": 280
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#5337E5
secondary
#D4E098
accent
#F434D5
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5337E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5337E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva