#5351E8#5351E8

#5351E8 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.221 H 276.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5351E8
RGBrgb(83, 81, 232)
HSLhsl(241, 77%, 61%)
HSVhsv(241, 65%, 91%)
CMYKcmyk(64.2%, 65.1%, 0%, 9%)
CIE-LABlab(43.58, 45.81, -76.11)
CIE-LCHlch(43.58, 88.83, 301.04°)
OKLaboklab(53.26% 0.0247 -0.2195)
OKLCHoklch(53.26% 0.221 276.4)
XYZxyz(21.0704, 13.5483, 77.8330)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351E8 #E6E851
analogous
#519BE8 #5351E8 #9F51E8
triadic
#5351E8 #E85351 #51E853
tetradic
#5351E8 #E8519B #E6E851 #51E89F
square
#5351E8 #E8519B #E6E851 #51E89F
split-complementary
#5351E8 #E89F51 #9BE851
monochromatic
#1816A8 #201DDE #5351E8 #8887EF #BEBDF6

Accessibility & contrast

On white

5.66
#5351E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5351E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351E8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351E8#FFFFFF#000000##FFFFFF
##5351E81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5351e8;
/* rgb */ color: rgb(83, 81, 232);
/* oklch */ color: oklch(53.3% 0.221 276.4);
Tailwind
colors: {
  custom: {
    50: '#9482f0',
    500: '#5351e8',
    950: '#000000',
  },
}
SCSS
$custom: #5351e8;
$custom-light: #9482f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5351e8",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 240.795,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.22092,
    "h": 276.4
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#5351E8
secondary
#E6E7AE
accent
#D90DD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5351E8

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

Preview Lab → · Contrast checker → · Palette generator →

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