#5351DD#5351DD

#5351DD is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.207 H 277.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5351DD
RGBrgb(83, 81, 221)
HSLhsl(241, 67%, 59%)
HSVhsv(241, 63%, 87%)
CMYKcmyk(62.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.68, 42.26, -71.33)
CIE-LCHlch(42.68, 82.91, 300.65°)
OKLaboklab(52.33% 0.0257 -0.2055)
OKLCHoklch(52.33% 0.207 277.1)
XYZxyz(19.5566, 12.9427, 69.8602)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351DD #DBDD51
analogous
#5195DD #5351DD #9951DD
triadic
#5351DD #DD5351 #51DD53
tetradic
#5351DD #DD5195 #DBDD51 #51DD99
square
#5351DD #DD5195 #DBDD51 #51DD99
split-complementary
#5351DD #DD9951 #95DD51
monochromatic
#1F1D96 #2A27C9 #5351DD #8684E7 #B8B7F1

Accessibility & contrast

On white

5.85
#5351DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5351DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351DD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351DD#FFFFFF#000000##FFFFFF
##5351DD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5351dd;
/* rgb */ color: rgb(83, 81, 221);
/* oklch */ color: oklch(52.3% 0.207 277.1);
Tailwind
colors: {
  custom: {
    50: '#9282e9',
    500: '#5351dd',
    950: '#000000',
  },
}
SCSS
$custom: #5351dd;
$custom-light: #9282e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5351dd",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 240.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.20713,
    "h": 277.1
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#5351DD
secondary
#DFE0AA
accent
#EA3EE8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351DD

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

Preview Lab → · Contrast checker → · Palette generator →

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