#5153DB#5153DB

#5153DB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.203 H 276.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5153DB
RGBrgb(81, 83, 219)
HSLhsl(239, 66%, 59%)
HSVhsv(239, 63%, 86%)
CMYKcmyk(63%, 62.1%, 0%, 14.1%)
CIE-LABlab(42.84, 40.12, -69.94)
CIE-LCHlch(42.84, 80.63, 299.84°)
OKLaboklab(52.36% 0.0218 -0.2015)
OKLCHoklch(52.36% 0.203 276.2)
XYZxyz(19.2686, 13.0487, 68.5073)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153DB #DBD951
analogous
#5198DB #5153DB #9451DB
triadic
#5153DB #DB5153 #53DB51
tetradic
#5153DB #DB5198 #DBD951 #51DB94
square
#5153DB #DB5198 #DBD951 #51DB94
split-complementary
#5153DB #DB9451 #98DB51
monochromatic
#1E2093 #292BC6 #5153DB #8485E5 #B6B7F0

Accessibility & contrast

On white

5.82
#5153DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5153DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153DB#FFFFFF#000000##FFFFFF
##5153DB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5153db;
/* rgb */ color: rgb(81, 83, 219);
/* oklch */ color: oklch(52.4% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#9083e7',
    500: '#5153db',
    950: '#000000',
  },
}
SCSS
$custom: #5153db;
$custom-light: #9083e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5153db",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 239.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.20265,
    "h": 276.2
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#5153DB
secondary
#DFDEA9
accent
#E63FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5153DB

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

Preview Lab → · Contrast checker → · Palette generator →

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