#5351E2#5351E2

#5351E2 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.213 H 276.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5351E2
RGBrgb(83, 81, 226)
HSLhsl(241, 71%, 60%)
HSVhsv(241, 64%, 89%)
CMYKcmyk(63.3%, 64.2%, 0%, 11.4%)
CIE-LABlab(43.08, 43.88, -73.51)
CIE-LCHlch(43.08, 85.61, 300.83°)
OKLaboklab(52.75% 0.0253 -0.2119)
OKLCHoklch(52.75% 0.213 276.8)
XYZxyz(20.2327, 13.2132, 73.4209)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351E2 #E0E251
analogous
#5197E2 #5351E2 #9C51E2
triadic
#5351E2 #E25351 #51E253
tetradic
#5351E2 #E25197 #E0E251 #51E29C
square
#5351E2 #E25197 #E0E251 #51E29C
split-complementary
#5351E2 #E29C51 #97E251
monochromatic
#1C1A9E #2623D3 #5351E2 #8785EB #BBBAF3

Accessibility & contrast

On white

5.76
#5351E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5351E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351E2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351E2#FFFFFF#000000##FFFFFF
##5351E21.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5351e2;
/* rgb */ color: rgb(83, 81, 226);
/* oklch */ color: oklch(52.7% 0.213 276.8);
Tailwind
colors: {
  custom: {
    50: '#9382ec',
    500: '#5351e2',
    950: '#000000',
  },
}
SCSS
$custom: #5351e2;
$custom-light: #9382ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5351e2",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 240.828,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.21343,
    "h": 276.8
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#5351E2
secondary
#E2E3AC
accent
#D312D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351E2

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

Preview Lab → · Contrast checker → · Palette generator →

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