#5153D8#5153D8

#5153D8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.199 H 276.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5153D8
RGBrgb(81, 83, 216)
HSLhsl(239, 63%, 58%)
HSVhsv(239, 63%, 85%)
CMYKcmyk(62.5%, 61.6%, 0%, 15.3%)
CIE-LABlab(42.60, 39.13, -68.61)
CIE-LCHlch(42.60, 78.98, 299.70°)
OKLaboklab(52.11% 0.022 -0.1976)
OKLCHoklch(52.11% 0.199 276.4)
XYZxyz(18.8772, 12.8922, 66.4461)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153D8 #D8D651
analogous
#5196D8 #5153D8 #9251D8
triadic
#5153D8 #D85153 #53D851
tetradic
#5153D8 #D85196 #D8D651 #51D892
square
#5153D8 #D85196 #D8D651 #51D892
split-complementary
#5153D8 #D89251 #96D851
monochromatic
#20228F #2B2DC1 #5153D8 #8384E3 #B5B6EE

Accessibility & contrast

On white

5.87
#5153D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5153D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153D8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153D8#FFFFFF#000000##FFFFFF
##5153D81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5153d8;
/* rgb */ color: rgb(81, 83, 216);
/* oklch */ color: oklch(52.1% 0.199 276.4);
Tailwind
colors: {
  custom: {
    50: '#9083e5',
    500: '#5153d8',
    950: '#000000',
  },
}
SCSS
$custom: #5153d8;
$custom-light: #9083e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5153d8",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 216
  },
  "hsl": {
    "h": 239.111,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.19879,
    "h": 276.4
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#5153D8
secondary
#DDDCA8
accent
#E441E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153D8

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

Preview Lab → · Contrast checker → · Palette generator →

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