#5351EC#5351EC

#5351EC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.226 H 276.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5351EC
RGBrgb(83, 81, 236)
HSLhsl(241, 80%, 62%)
HSVhsv(241, 66%, 93%)
CMYKcmyk(64.8%, 65.7%, 0%, 7.5%)
CIE-LABlab(43.91, 47.09, -77.82)
CIE-LCHlch(43.91, 90.95, 301.18°)
OKLaboklab(53.61% 0.0243 -0.2245)
OKLCHoklch(53.61% 0.226 276.2)
XYZxyz(21.6451, 13.7781, 80.8594)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351EC #EAEC51
analogous
#519DEC #5351EC #A051EC
triadic
#5351EC #EC5351 #51EC53
tetradic
#5351EC #EC519D #EAEC51 #51ECA0
square
#5351EC #EC519D #EAEC51 #51ECA0
split-complementary
#5351EC #ECA051 #9DEC51
monochromatic
#1513AF #1C1AE6 #5351EC #8A88F2 #C0BFF8

Accessibility & contrast

On white

5.59
#5351EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5351EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351EC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351EC#FFFFFF#000000##FFFFFF
##5351EC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5351ec;
/* rgb */ color: rgb(83, 81, 236);
/* oklch */ color: oklch(53.6% 0.226 276.2);
Tailwind
colors: {
  custom: {
    50: '#9583f3',
    500: '#5351ec',
    950: '#000000',
  },
}
SCSS
$custom: #5351ec;
$custom-light: #9583f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5351ec",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 240.774,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.22585,
    "h": 276.2
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#5351EC
secondary
#E8E9B0
accent
#DD09DA
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5351EC

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

Preview Lab → · Contrast checker → · Palette generator →

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