#5153CE#5153CE

#5153CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.186 H 276.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5153CE
RGBrgb(81, 83, 206)
HSLhsl(239, 56%, 56%)
HSVhsv(239, 61%, 81%)
CMYKcmyk(60.7%, 59.7%, 0%, 19.2%)
CIE-LABlab(41.83, 35.85, -64.12)
CIE-LCHlch(41.83, 73.46, 299.21°)
OKLaboklab(51.3% 0.0224 -0.1844)
OKLCHoklch(51.3% 0.186 276.9)
XYZxyz(17.6236, 12.3907, 59.8435)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153CE #CECC51
analogous
#5192CE #5153CE #8E51CE
triadic
#5153CE #CE5153 #53CE51
tetradic
#5153CE #CE5192 #CECC51 #51CE8E
square
#5153CE #CE5192 #CECC51 #51CE8E
split-complementary
#5153CE #CE8E51 #92CE51
monochromatic
#242680 #3234B0 #5153CE #8182DB #B1B1E9

Accessibility & contrast

On white

6.04
#5153CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5153CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153CE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153CE#FFFFFF#000000##FFFFFF
##5153CE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5153ce;
/* rgb */ color: rgb(81, 83, 206);
/* oklch */ color: oklch(51.3% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#8e83de',
    500: '#5153ce',
    950: '#000000',
  },
}
SCSS
$custom: #5153ce;
$custom-light: #8e83de;
$custom-dark: #000000;
JSON
{
  "hex": "#5153ce",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 206
  },
  "hsl": {
    "h": 239.04,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.18573,
    "h": 276.9
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#5153CE
secondary
#D7D6A4
accent
#DD48DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5153CE

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

Preview Lab → · Contrast checker → · Palette generator →

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