#5153CB#5153CB

#5153CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.182 H 277.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5153CB
RGBrgb(81, 83, 203)
HSLhsl(239, 54%, 56%)
HSVhsv(239, 60%, 80%)
CMYKcmyk(60.1%, 59.1%, 0%, 20.4%)
CIE-LABlab(41.60, 34.86, -62.75)
CIE-LCHlch(41.60, 71.79, 299.05°)
OKLaboklab(51.07% 0.0225 -0.1804)
OKLCHoklch(51.07% 0.182 277.1)
XYZxyz(17.2626, 12.2463, 57.9424)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5153CB #CBC951
analogous
#5190CB #5153CB #8C51CB
triadic
#5153CB #CB5153 #53CB51
tetradic
#5153CB #CB5190 #CBC951 #51CB8C
square
#5153CB #CB5190 #CBC951 #51CB8C
split-complementary
#5153CB #CB8C51 #90CB51
monochromatic
#25277C #3335AC #5153CB #8082D9 #AFB0E7

Accessibility & contrast

On white

6.09
#5153CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5153CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5153CB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5153CB#FFFFFF#000000##FFFFFF
##5153CB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5153cb;
/* rgb */ color: rgb(81, 83, 203);
/* oklch */ color: oklch(51.1% 0.182 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e83dc',
    500: '#5153cb',
    950: '#000000',
  },
}
SCSS
$custom: #5153cb;
$custom-light: #8e83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5153cb",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 239.016,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.18176,
    "h": 277.1
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#5153CB
secondary
#D5D4A3
accent
#DB4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5153CB

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

Preview Lab → · Contrast checker → · Palette generator →

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