#5351DB#5351DB

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

Color values

HEX#5351DB
RGBrgb(83, 81, 219)
HSLhsl(241, 66%, 59%)
HSVhsv(241, 63%, 86%)
CMYKcmyk(62.1%, 63%, 0%, 14.1%)
CIE-LABlab(42.52, 41.62, -70.45)
CIE-LCHlch(42.52, 81.83, 300.57°)
OKLaboklab(52.16% 0.0258 -0.2029)
OKLCHoklch(52.16% 0.205 277.3)
XYZxyz(19.2918, 12.8368, 68.4652)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351DB #D9DB51
analogous
#5194DB #5351DB #9851DB
triadic
#5351DB #DB5351 #51DB53
tetradic
#5351DB #DB5194 #D9DB51 #51DB98
square
#5351DB #DB5194 #D9DB51 #51DB98
split-complementary
#5351DB #DB9851 #94DB51
monochromatic
#201E93 #2B29C6 #5351DB #8584E5 #B7B6F0

Accessibility & contrast

On white

5.89
#5351DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5351DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351DB#FFFFFF#000000##FFFFFF
##5351DB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5351db;
/* rgb */ color: rgb(83, 81, 219);
/* oklch */ color: oklch(52.2% 0.205 277.3);
Tailwind
colors: {
  custom: {
    50: '#9182e7',
    500: '#5351db',
    950: '#000000',
  },
}
SCSS
$custom: #5351db;
$custom-light: #9182e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5351db",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 240.87,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.20459,
    "h": 277.3
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#5351DB
secondary
#DEDFA9
accent
#E93FE6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351DB

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

Preview Lab → · Contrast checker → · Palette generator →

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