#5335EA#5335EA

#5335EA is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.6% C 0.251 H 279.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5335EA
RGBrgb(83, 53, 234)
HSLhsl(250, 81%, 56%)
HSVhsv(250, 77%, 92%)
CMYKcmyk(64.5%, 77.4%, 0%, 8.2%)
CIE-LABlab(38.42, 61.27, -85.73)
CIE-LCHlch(38.42, 105.37, 305.56°)
OKLaboklab(49.64% 0.0419 -0.2475)
OKLCHoklch(49.64% 0.251 279.6)
XYZxyz(19.6869, 10.3241, 78.7812)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5335EA #CCEA35
analogous
#3572EA #5335EA #AE35EA
triadic
#5335EA #EA5335 #35EA53
tetradic
#5335EA #EA3572 #CCEA35 #35EAAE
square
#5335EA #EA3572 #CCEA35 #35EAAE
split-complementary
#5335EA #EAAE35 #72EA35
monochromatic
#261095 #3415CD #5335EA #826CF0 #B1A4F6

Accessibility & contrast

On white

6.85
#5335EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5335EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5335EA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5335EA#FFFFFF#000000##FFFFFF
##5335EA1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0053E7
Tritanopia (blue-blind)
#006B8F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5335ea;
/* rgb */ color: rgb(83, 53, 234);
/* oklch */ color: oklch(49.6% 0.251 279.6);
Tailwind
colors: {
  custom: {
    50: '#9671f2',
    500: '#5335ea',
    950: '#000000',
  },
}
SCSS
$custom: #5335ea;
$custom-light: #9671f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5335ea",
  "rgb": {
    "r": 83,
    "g": 53,
    "b": 234
  },
  "hsl": {
    "h": 249.945,
    "s": 81.166,
    "l": 56.275
  },
  "oklch": {
    "l": 0.4964,
    "c": 0.25103,
    "h": 279.6
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#5335EA
secondary
#D6E398
accent
#F830D7
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5335EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5335EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva