#5153EA#5153EA

#5153EA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.222 H 275.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5153EA
RGBrgb(81, 83, 234)
HSLhsl(239, 78%, 62%)
HSVhsv(239, 65%, 92%)
CMYKcmyk(65.4%, 64.5%, 0%, 8.2%)
CIE-LABlab(44.05, 45.01, -76.46)
CIE-LCHlch(44.05, 88.73, 300.49°)
OKLaboklab(53.62% 0.0207 -0.2206)
OKLCHoklch(53.62% 0.222 275.4)
XYZxyz(21.3330, 13.8745, 79.3798)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153EA #EAE851
analogous
#519FEA #5153EA #9C51EA
triadic
#5153EA #EA5153 #53EA51
tetradic
#5153EA #EA519F #EAE851 #51EA9C
square
#5153EA #EA519F #EAE851 #51EA9C
split-complementary
#5153EA #EA9C51 #9FEA51
monochromatic
#1517AC #1B1EE2 #5153EA #8889F1 #BEBFF7

Accessibility & contrast

On white

5.56
#5153EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5153EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153EA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153EA#FFFFFF#000000##FFFFFF
##5153EA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5153ea;
/* rgb */ color: rgb(81, 83, 234);
/* oklch */ color: oklch(53.6% 0.222 275.4);
Tailwind
colors: {
  custom: {
    50: '#9384f2',
    500: '#5153ea',
    950: '#000000',
  },
}
SCSS
$custom: #5153ea;
$custom-light: #9384f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5153ea",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 234
  },
  "hsl": {
    "h": 239.216,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.2216,
    "h": 275.4
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#5153EA
secondary
#E8E7AF
accent
#D80BDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5153EA

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

Preview Lab → · Contrast checker → · Palette generator →

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