#5351DA#5351DA

#5351DA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.1% C 0.203 H 277.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5351DA
RGBrgb(83, 81, 218)
HSLhsl(241, 65%, 59%)
HSVhsv(241, 63%, 85%)
CMYKcmyk(61.9%, 62.8%, 0%, 14.5%)
CIE-LABlab(42.44, 41.29, -70.01)
CIE-LCHlch(42.44, 81.28, 300.53°)
OKLaboklab(52.08% 0.0259 -0.2016)
OKLCHoklch(52.08% 0.203 277.3)
XYZxyz(19.1605, 12.7843, 67.7740)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351DA #D8DA51
analogous
#5193DA #5351DA #9751DA
triadic
#5351DA #DA5351 #51DA53
tetradic
#5351DA #DA5193 #D8DA51 #51DA97
square
#5351DA #DA5193 #D8DA51 #51DA97
split-complementary
#5351DA #DA9751 #93DA51
monochromatic
#211F92 #2C2AC4 #5351DA #8583E5 #B7B6EF

Accessibility & contrast

On white

5.90
#5351DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5351DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351DA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351DA#FFFFFF#000000##FFFFFF
##5351DA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5351da;
/* rgb */ color: rgb(83, 81, 218);
/* oklch */ color: oklch(52.1% 0.203 277.3);
Tailwind
colors: {
  custom: {
    50: '#9182e6',
    500: '#5351da',
    950: '#000000',
  },
}
SCSS
$custom: #5351da;
$custom-light: #9182e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5351da",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 240.876,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.20331,
    "h": 277.3
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#5351DA
secondary
#DEDEA8
accent
#E840E5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351DA

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

Preview Lab → · Contrast checker → · Palette generator →

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