#5351E4#5351E4

#5351E4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.216 H 276.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5351E4
RGBrgb(83, 81, 228)
HSLhsl(241, 73%, 61%)
HSVhsv(241, 64%, 89%)
CMYKcmyk(63.6%, 64.5%, 0%, 10.6%)
CIE-LABlab(43.25, 44.52, -74.38)
CIE-LCHlch(43.25, 86.69, 300.90°)
OKLaboklab(52.92% 0.0251 -0.2145)
OKLCHoklch(52.92% 0.216 276.7)
XYZxyz(20.5087, 13.3236, 74.8747)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351E4 #E2E451
analogous
#5199E4 #5351E4 #9C51E4
triadic
#5351E4 #E45351 #51E453
tetradic
#5351E4 #E45199 #E2E451 #51E49C
square
#5351E4 #E45199 #E2E451 #51E49C
split-complementary
#5351E4 #E49C51 #99E451
monochromatic
#1B19A2 #2421D7 #5351E4 #8786EC #BCBBF4

Accessibility & contrast

On white

5.73
#5351E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5351E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351E4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351E4#FFFFFF#000000##FFFFFF
##5351E41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5351e4;
/* rgb */ color: rgb(83, 81, 228);
/* oklch */ color: oklch(52.9% 0.216 276.7);
Tailwind
colors: {
  custom: {
    50: '#9382ee',
    500: '#5351e4',
    950: '#000000',
  },
}
SCSS
$custom: #5351e4;
$custom-light: #9382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5351e4",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 240.816,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.21593,
    "h": 276.7
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#5351E4
secondary
#E4E4AC
accent
#D510D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351E4

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

Preview Lab → · Contrast checker → · Palette generator →

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