#5153E6#5153E6

#5153E6 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.217 H 275.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5153E6
RGBrgb(81, 83, 230)
HSLhsl(239, 75%, 61%)
HSVhsv(239, 65%, 90%)
CMYKcmyk(64.8%, 63.9%, 0%, 9.8%)
CIE-LABlab(43.72, 43.71, -74.74)
CIE-LCHlch(43.72, 86.59, 300.32°)
OKLaboklab(53.28% 0.0211 -0.2156)
OKLCHoklch(53.28% 0.217 275.6)
XYZxyz(20.7648, 13.6472, 76.3875)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153E6 #E6E451
analogous
#519DE6 #5153E6 #9951E6
triadic
#5153E6 #E65153 #53E651
tetradic
#5153E6 #E6519D #E6E451 #51E699
square
#5153E6 #E6519D #E6E451 #51E699
split-complementary
#5153E6 #E69951 #9DE651
monochromatic
#181AA5 #1F22DA #5153E6 #8788EE #BCBDF5

Accessibility & contrast

On white

5.63
#5153E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5153E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153E6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153E6#FFFFFF#000000##FFFFFF
##5153E61.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5153e6;
/* rgb */ color: rgb(81, 83, 230);
/* oklch */ color: oklch(53.3% 0.217 275.6);
Tailwind
colors: {
  custom: {
    50: '#9284ef',
    500: '#5153e6',
    950: '#000000',
  },
}
SCSS
$custom: #5153e6;
$custom-light: #9284ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5153e6",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 230
  },
  "hsl": {
    "h": 239.195,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.21661,
    "h": 275.6
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#5153E6
secondary
#E5E5AD
accent
#D40ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5153E6

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

Preview Lab → · Contrast checker → · Palette generator →

#5153E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva