#5351EA#5351EA

#5351EA is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.223 H 276.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5351EA
RGBrgb(83, 81, 234)
HSLhsl(241, 78%, 62%)
HSVhsv(241, 65%, 92%)
CMYKcmyk(64.5%, 65.4%, 0%, 8.2%)
CIE-LABlab(43.75, 46.45, -76.96)
CIE-LCHlch(43.75, 89.89, 301.11°)
OKLaboklab(53.43% 0.0245 -0.222)
OKLCHoklch(53.43% 0.223 276.3)
XYZxyz(21.3561, 13.6626, 79.3377)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351EA #E8EA51
analogous
#519CEA #5351EA #9F51EA
triadic
#5351EA #EA5351 #51EA53
tetradic
#5351EA #EA519C #E8EA51 #51EA9F
square
#5351EA #EA519C #E8EA51 #51EA9F
split-complementary
#5351EA #EA9F51 #9CEA51
monochromatic
#1715AC #1E1BE2 #5351EA #8988F1 #BFBEF7

Accessibility & contrast

On white

5.63
#5351EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5351EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351EA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351EA#FFFFFF#000000##FFFFFF
##5351EA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5351ea;
/* rgb */ color: rgb(83, 81, 234);
/* oklch */ color: oklch(53.4% 0.223 276.3);
Tailwind
colors: {
  custom: {
    50: '#9483f2',
    500: '#5351ea',
    950: '#000000',
  },
}
SCSS
$custom: #5351ea;
$custom-light: #9483f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5351ea",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 240.784,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.22339,
    "h": 276.3
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#5351EA
secondary
#E7E8AF
accent
#DB0BD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5351EA

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

Preview Lab → · Contrast checker → · Palette generator →

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