#5153CD#5153CD

#5153CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.184 H 277.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5153CD
RGBrgb(81, 83, 205)
HSLhsl(239, 55%, 56%)
HSVhsv(239, 60%, 80%)
CMYKcmyk(60.5%, 59.5%, 0%, 19.6%)
CIE-LABlab(41.76, 35.52, -63.66)
CIE-LCHlch(41.76, 72.90, 299.16°)
OKLaboklab(51.22% 0.0224 -0.183)
OKLCHoklch(51.22% 0.184 277)
XYZxyz(17.5025, 12.3423, 59.2057)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153CD #CDCB51
analogous
#5191CD #5153CD #8D51CD
triadic
#5153CD #CD5153 #53CD51
tetradic
#5153CD #CD5191 #CDCB51 #51CD8D
square
#5153CD #CD5191 #CDCB51 #51CD8D
split-complementary
#5153CD #CD8D51 #91CD51
monochromatic
#25267F #3234AF #5153CD #8182DB #B0B1E8

Accessibility & contrast

On white

6.05
#5153CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5153CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153CD#FFFFFF#000000##FFFFFF
##5153CD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5153cd;
/* rgb */ color: rgb(81, 83, 205);
/* oklch */ color: oklch(51.2% 0.184 277.0);
Tailwind
colors: {
  custom: {
    50: '#8e83dd',
    500: '#5153cd',
    950: '#000000',
  },
}
SCSS
$custom: #5153cd;
$custom-light: #8e83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5153cd",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 239.032,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.18442,
    "h": 277
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#5153CD
secondary
#D7D6A3
accent
#DC49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5153CD

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

Preview Lab → · Contrast checker → · Palette generator →

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