#5153C8#5153C8

#5153C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.178 H 277.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5153C8
RGBrgb(81, 83, 200)
HSLhsl(239, 52%, 55%)
HSVhsv(239, 60%, 78%)
CMYKcmyk(59.5%, 58.5%, 0%, 21.6%)
CIE-LABlab(41.38, 33.87, -61.38)
CIE-LCHlch(41.38, 70.11, 298.89°)
OKLaboklab(50.83% 0.0225 -0.1763)
OKLCHoklch(50.83% 0.178 277.3)
XYZxyz(16.9086, 12.1047, 56.0778)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153C8 #C8C651
analogous
#518EC8 #5153C8 #8B51C8
triadic
#5153C8 #C85153 #53C851
tetradic
#5153C8 #C8518E #C8C651 #51C88B
square
#5153C8 #C8518E #C8C651 #51C88B
split-complementary
#5153C8 #C88B51 #8EC851
monochromatic
#262779 #3537A7 #5153C8 #8081D7 #AEAFE5

Accessibility & contrast

On white

6.14
#5153C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5153C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153C8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153C8#FFFFFF#000000##FFFFFF
##5153C81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5153c8;
/* rgb */ color: rgb(81, 83, 200);
/* oklch */ color: oklch(50.8% 0.178 277.3);
Tailwind
colors: {
  custom: {
    50: '#8d83da',
    500: '#5153c8',
    950: '#000000',
  },
}
SCSS
$custom: #5153c8;
$custom-light: #8d83da;
$custom-dark: #000000;
JSON
{
  "hex": "#5153c8",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 238.992,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.17776,
    "h": 277.3
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#5153C8
secondary
#D3D3A1
accent
#D94CDB
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5153C8

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

Preview Lab → · Contrast checker → · Palette generator →

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