#5351E3#5351E3

#5351E3 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.215 H 276.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5351E3
RGBrgb(83, 81, 227)
HSLhsl(241, 72%, 60%)
HSVhsv(241, 64%, 89%)
CMYKcmyk(63.4%, 64.3%, 0%, 11%)
CIE-LABlab(43.16, 44.20, -73.95)
CIE-LCHlch(43.16, 86.15, 300.87°)
OKLaboklab(52.83% 0.0252 -0.2132)
OKLCHoklch(52.83% 0.215 276.7)
XYZxyz(20.3703, 13.2682, 74.1457)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351E3 #E1E351
analogous
#5198E3 #5351E3 #9C51E3
triadic
#5351E3 #E35351 #51E353
tetradic
#5351E3 #E35198 #E1E351 #51E39C
square
#5351E3 #E35198 #E1E351 #51E39C
split-complementary
#5351E3 #E39C51 #98E351
monochromatic
#1C1AA0 #2522D5 #5351E3 #8786EB #BBBAF4

Accessibility & contrast

On white

5.75
#5351E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5351E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351E3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351E3#FFFFFF#000000##FFFFFF
##5351E31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5351e3;
/* rgb */ color: rgb(83, 81, 227);
/* oklch */ color: oklch(52.8% 0.215 276.7);
Tailwind
colors: {
  custom: {
    50: '#9382ed',
    500: '#5351e3',
    950: '#000000',
  },
}
SCSS
$custom: #5351e3;
$custom-light: #9382ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5351e3",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 240.822,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.21468,
    "h": 276.7
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#5351E3
secondary
#E3E4AC
accent
#D411D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351E3

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

Preview Lab → · Contrast checker → · Palette generator →

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