#5351DE#5351DE

#5351DE is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.208 H 277.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5351DE
RGBrgb(83, 81, 222)
HSLhsl(241, 68%, 59%)
HSVhsv(241, 64%, 87%)
CMYKcmyk(62.6%, 63.5%, 0%, 12.9%)
CIE-LABlab(42.76, 42.59, -71.77)
CIE-LCHlch(42.76, 83.45, 300.68°)
OKLaboklab(52.41% 0.0256 -0.2068)
OKLCHoklch(52.41% 0.208 277.1)
XYZxyz(19.6903, 12.9962, 70.5640)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351DE #DCDE51
analogous
#5196DE #5351DE #9A51DE
triadic
#5351DE #DE5351 #51DE53
tetradic
#5351DE #DE5196 #DCDE51 #51DE9A
square
#5351DE #DE5196 #DCDE51 #51DE9A
split-complementary
#5351DE #DE9A51 #96DE51
monochromatic
#1F1D98 #2927CB #5351DE #8684E8 #B9B8F2

Accessibility & contrast

On white

5.83
#5351DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5351DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351DE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351DE#FFFFFF#000000##FFFFFF
##5351DE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5351de;
/* rgb */ color: rgb(83, 81, 222);
/* oklch */ color: oklch(52.4% 0.208 277.1);
Tailwind
colors: {
  custom: {
    50: '#9282e9',
    500: '#5351de',
    950: '#000000',
  },
}
SCSS
$custom: #5351de;
$custom-light: #9282e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5351de",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 240.851,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.2084,
    "h": 277.1
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#5351DE
secondary
#E0E1AA
accent
#EB3DE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351DE

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

Preview Lab → · Contrast checker → · Palette generator →

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