#5153DE#5153DE

#5153DE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.206 H 276.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5153DE
RGBrgb(81, 83, 222)
HSLhsl(239, 68%, 59%)
HSVhsv(239, 64%, 87%)
CMYKcmyk(63.5%, 62.6%, 0%, 12.9%)
CIE-LABlab(43.08, 41.10, -71.26)
CIE-LCHlch(43.08, 82.26, 299.98°)
OKLaboklab(52.61% 0.0217 -0.2053)
OKLCHoklch(52.61% 0.206 276)
XYZxyz(19.6671, 13.2081, 70.6061)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153DE #DEDC51
analogous
#519ADE #5153DE #9651DE
triadic
#5153DE #DE5153 #53DE51
tetradic
#5153DE #DE519A #DEDC51 #51DE96
square
#5153DE #DE519A #DEDC51 #51DE96
split-complementary
#5153DE #DE9651 #9ADE51
monochromatic
#1D1F98 #2729CB #5153DE #8486E8 #B8B9F2

Accessibility & contrast

On white

5.77
#5153DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5153DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153DE#FFFFFF#000000##FFFFFF
##5153DE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5153de;
/* rgb */ color: rgb(81, 83, 222);
/* oklch */ color: oklch(52.6% 0.206 276.0);
Tailwind
colors: {
  custom: {
    50: '#9184e9',
    500: '#5153de',
    950: '#000000',
  },
}
SCSS
$custom: #5153de;
$custom-light: #9184e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5153de",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 222
  },
  "hsl": {
    "h": 239.149,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.20649,
    "h": 276
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#5153DE
secondary
#E1E0AA
accent
#E93DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153DE

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

Preview Lab → · Contrast checker → · Palette generator →

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